Commit 6a2d3f78 authored by Halla Rempt's avatar Halla Rempt
Browse files

Don't hard-code the open dialog for QDesktopServices::PicturesLocation

KoFileDialog saves the last used location based on the OpenDocument
flag, and it's really annoying if the dialog resets to ~/Pictures
all the time.
parent 5814085b
......@@ -799,7 +799,6 @@ void KisMainWindow::addViewAndNotifyLoadingCompleted(KisDocument *document)
QStringList KisMainWindow::showOpenFileDialog()
KoFileDialog dialog(this, KoFileDialog::ImportFiles, "OpenDocument");
dialog.setCaption(d->isImporting ? i18n("Import Images") : i18n("Open Images"));
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