author | mickeyl <mickeyl> | 2005-01-12 18:49:19 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-12 18:49:19 (UTC) |
commit | 6bc672f252c624eb1468222c5f9037a671967aef (patch) (side-by-side diff) | |
tree | b0acd7027c33d10b45d72bfe694da75f77c17033 /core | |
parent | eaaafd114a8210b0d434231290ec5e294aae91bb (diff) | |
download | opie-6bc672f252c624eb1468222c5f9037a671967aef.zip opie-6bc672f252c624eb1468222c5f9037a671967aef.tar.gz opie-6bc672f252c624eb1468222c5f9037a671967aef.tar.bz2 |
Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration)
-rw-r--r-- | core/launcher/documentlist.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp index 9781a32..d2b9afa 100644 --- a/core/launcher/documentlist.cpp +++ b/core/launcher/documentlist.cpp @@ -537,27 +537,29 @@ DocumentListPrivate::DocumentListPrivate( ServerInterface *gui ) } for ( int i = 0; i < MAX_SEARCH_DEPTH; i++ ) { listDirs[i] = 0; lists[i] = 0; listPositions[i] = 0; } initialize(); tid = 0; } void DocumentListPrivate::appendDocpath(FileSystem*fs) { + Config c( "qpe" ); + c.setGroup( "Startup" ); QDir defPath(fs->path()+"/Documents"); QFileInfo f(fs->path()+"/.opiestorage.cf"); - if (!f.exists()) { + if ( c.readNumEntry( "FirstUse", 42 ) == 0 && !f.exists()) { Mediadlg dlg(fs); if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) { return; } } Config conf(f.filePath(), Config::File ); conf.setGroup("main"); if (!conf.readBoolEntry("check",false)) { return; } conf.setGroup("subdirs"); bool read_all = conf.readBoolEntry("wholemedia",true); |