summaryrefslogtreecommitdiff
path: root/core
authormickeyl <mickeyl>2005-01-12 18:49:19 (UTC)
committer mickeyl <mickeyl>2005-01-12 18:49:19 (UTC)
commit6bc672f252c624eb1468222c5f9037a671967aef (patch) (side-by-side diff)
treeb0acd7027c33d10b45d72bfe694da75f77c17033 /core
parenteaaafd114a8210b0d434231290ec5e294aae91bb (diff)
downloadopie-6bc672f252c624eb1468222c5f9037a671967aef.zip
opie-6bc672f252c624eb1468222c5f9037a671967aef.tar.gz
opie-6bc672f252c624eb1468222c5f9037a671967aef.tar.bz2
Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration)
Diffstat (limited to 'core') (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/documentlist.cpp4
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 )
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;