author | mickeyl <mickeyl> | 2005-01-12 18:49:19 (UTC) |
---|---|---|
committer | mickeyl <mickeyl> | 2005-01-12 18:49:19 (UTC) |
commit | 6bc672f252c624eb1468222c5f9037a671967aef (patch) (unidiff) | |
tree | b0acd7027c33d10b45d72bfe694da75f77c17033 /core/launcher | |
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 | |||
@@ -546,9 +546,11 @@ DocumentListPrivate::DocumentListPrivate( ServerInterface *gui ) | |||
546 | 546 | ||
547 | void DocumentListPrivate::appendDocpath(FileSystem*fs) | 547 | void DocumentListPrivate::appendDocpath(FileSystem*fs) |
548 | { | 548 | { |
549 | Config c( "qpe" ); | ||
550 | c.setGroup( "Startup" ); | ||
549 | QDir defPath(fs->path()+"/Documents"); | 551 | QDir defPath(fs->path()+"/Documents"); |
550 | QFileInfo f(fs->path()+"/.opiestorage.cf"); | 552 | QFileInfo f(fs->path()+"/.opiestorage.cf"); |
551 | if (!f.exists()) { | 553 | if ( c.readNumEntry( "FirstUse", 42 ) == 0 && !f.exists()) { |
552 | Mediadlg dlg(fs); | 554 | Mediadlg dlg(fs); |
553 | if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) { | 555 | if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) { |
554 | return; | 556 | return; |