summaryrefslogtreecommitdiff
path: root/core/launcher/documentlist.cpp
Side-by-side diff
Diffstat (limited to 'core/launcher/documentlist.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/launcher/documentlist.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp
index 9736e65..39dc7c9 100644
--- a/core/launcher/documentlist.cpp
+++ b/core/launcher/documentlist.cpp
@@ -21,2 +21,3 @@
#include "serverinterface.h"
+#include "mediadlg.h"
@@ -436,7 +437,7 @@ void DocumentListPrivate::appendDocpath(FileSystem*fs)
if (!f.exists()) {
- if (defPath.exists()) {
- docPaths+=defPath.path();
- }
+ Mediadlg dlg(fs);
+ if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) {
return;
}
+ }
Config conf(f.filePath(), Config::File );