slotExtractCurrentFrame: Use QPointer [krazy 32/37] by Mikko Rapelli

parent e0c9bf51
......@@ -577,7 +577,7 @@ void Monitor::slotExtractCurrentFrame()
frame = render->extractFrame(render->seekFramePosition(), m_currentClip->fileURL().path());
}
else frame = render->extractFrame(render->seekFramePosition());
KFileDialog *fs = new KFileDialog(KUrl(), "image/png", this);
QPointer<KFileDialog> fs = new KFileDialog(KUrl(), "image/png", this);
fs->setOperationMode(KFileDialog::Saving);
fs->setMode(KFile::File);
fs->setConfirmOverwrite(true);
......
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