if (name != "clip") {
connect(render, SIGNAL(rendererPosition(int)), this, SIGNAL(renderPosition(int)));
connect(render, SIGNAL(durationChanged(int)), this, SIGNAL(durationChanged(int)));
+ QAction *splitView = m_contextMenu->addAction(KIcon("document-new"), i18n("Split view"));
+ splitView->setCheckable(true);
+ connect(splitView, SIGNAL(toggled(bool)), render, SLOT(slotSplitView(bool)));
} else {
QAction *setThumbFrame = m_contextMenu->addAction(KIcon("document-new"), i18n("Set current image as thumbnail"));
connect(setThumbFrame, SIGNAL(triggered()), this, SLOT(slotSetThumbFrame()));
if (!clip) return;
if (clip != m_currentClip) {
m_currentClip = clip;
- QDomDocument doc;
- QDomElement westley = doc.createElement("westley");
- doc.appendChild(westley);
- westley.appendChild(doc.importNode(m_currentClip->toXML(), true));
- render->setSceneList(doc, 0);
+ render->setProducer(clip->producer(), 0);
m_ruler->slotNewValue(0);
+ //adjustRulerSize(clip->producer()->get_playtime());
m_timePos->setText("00:00:00:00");
m_position = 0;
}