Diffstat (limited to 'core/launcher/documentlist.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/documentlist.cpp | 7 |
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 | |||
@@ -19,6 +19,7 @@ | |||
19 | **********************************************************************/ | 19 | **********************************************************************/ |
20 | #include "documentlist.h" | 20 | #include "documentlist.h" |
21 | #include "serverinterface.h" | 21 | #include "serverinterface.h" |
22 | #include "mediadlg.h" | ||
22 | 23 | ||
23 | #include <opie2/oglobal.h> | 24 | #include <opie2/oglobal.h> |
24 | 25 | ||
@@ -434,10 +435,10 @@ void DocumentListPrivate::appendDocpath(FileSystem*fs) | |||
434 | QDir defPath(fs->path()+"/Documents"); | 435 | QDir defPath(fs->path()+"/Documents"); |
435 | QFileInfo f(fs->path()+"/.opiestorage.cf"); | 436 | QFileInfo f(fs->path()+"/.opiestorage.cf"); |
436 | if (!f.exists()) { | 437 | if (!f.exists()) { |
437 | if (defPath.exists()) { | 438 | Mediadlg dlg(fs); |
438 | docPaths+=defPath.path(); | 439 | if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) { |
440 | return; | ||
439 | } | 441 | } |
440 | return; | ||
441 | } | 442 | } |
442 | Config conf(f.filePath(), Config::File ); | 443 | Config conf(f.filePath(), Config::File ); |
443 | conf.setGroup("subdirs"); | 444 | conf.setGroup("subdirs"); |