From: Jean-Baptiste Mardelle Date: Mon, 23 Jul 2012 07:12:35 +0000 (+0200) Subject: slotShowClipProperties: Use QPointer [krazy 27/37] by Mikko Rapeli X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=fa881607bd2776761f6340137a5ab0692dd556f6;p=kdenlive slotShowClipProperties: Use QPointer [krazy 27/37] by Mikko Rapeli --- diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index 77e58d2a..78aa1547 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3272,7 +3272,7 @@ void MainWindow::slotShowClipProperties(DocClipBase *clip) return; } QString path = clip->getProperty("resource"); - TitleWidget *dia_ui = new TitleWidget(KUrl(), m_activeDocument->timecode(), titlepath, m_projectMonitor->render, this); + QPointer dia_ui = new TitleWidget(KUrl(), m_activeDocument->timecode(), titlepath, m_projectMonitor->render, this); QDomDocument doc; doc.setContent(clip->getProperty("xmldata")); dia_ui->setXml(doc);