From 6bc672f252c624eb1468222c5f9037a671967aef Mon Sep 17 00:00:00 2001 From: mickeyl Date: Wed, 12 Jan 2005 18:49:19 +0000 Subject: Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) --- diff --git a/ChangeLog b/ChangeLog index 9b31725..2b7bc35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,7 +8,8 @@ Fixed Bugs ---------- * #1501 - Fixed bug in todo sql backend (eilers) - * n.a - Removed hard coded font sizes in a couple of inputmethods (mickeyl) + * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl) + * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl) Internal -------- 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 ) 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; -- cgit v0.9.0.2