Use QPointer [krazy 1/37] by Mikko Rapeli

parent cf55d5f6
......@@ -884,7 +884,7 @@ void RecMonitor::manageCapturedFiles()
kDebug() << capturedFiles;
if (capturedFiles.count() > 0) {
ManageCapturesDialog *d = new ManageCapturesDialog(capturedFiles, this);
QPointer<ManageCapturesDialog> d = new ManageCapturesDialog(capturedFiles, this);
if (d->exec() == QDialog::Accepted) {
emit addProjectClipList(d->importFiles());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment