Commit a210ace6 authored by Jan Möbius's avatar Jan Möbius

Removed deprecated function calls

parent 6e3cea22
......@@ -373,7 +373,7 @@ void CoreWidget::slotExaminerSnapshot() {
dialog.setDefaultSuffix("png");
dialog.setNameFilter(tr("Images (*.png *.ppm *.jpg)"));
dialog.setFileMode(QFileDialog::AnyFile);
dialog.setConfirmOverwrite(true);
dialog.setOption(QFileDialog::DontConfirmOverwrite, false);
dialog.setDirectory( fi.path() );
dialog.selectFile( suggest );
dialog.setAcceptMode(QFileDialog::AcceptSave);
......
......@@ -183,7 +183,7 @@ void SnapshotDialog::findFile()
dialog.setDefaultSuffix("png");
dialog.setNameFilter(tr("Images (*.png *.ppm *.jpg)"));
dialog.setFileMode(QFileDialog::AnyFile);
dialog.setConfirmOverwrite(true);
dialog.setOption(QFileDialog::DontConfirmOverwrite, false);
dialog.setDirectory( fi.path() );
dialog.selectFile( filename->text() );
dialog.setAcceptMode(QFileDialog::AcceptSave);
......
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