-rw-r--r-- | korganizer/mainwindow.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 1c74307..348dd5e 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -133,4 +133,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : { + #ifdef DESKTOP_VERSION setFont( QFont("Arial"), 14 ); @@ -144,7 +145,6 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : mBlockAtStartup = true; mFlagKeyPressed = false; - setCaption("KOrganizer/Pi"); - KPimGlobalPrefs::instance()->setGlobalConfig(); KOPrefs *p = KOPrefs::instance(); + KPimGlobalPrefs::instance()->setGlobalConfig(); if ( p->mHourSize > 18 ) p->mHourSize = 18; @@ -169,4 +169,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : mCalendarModifiedFlag = false; + setCaption("KOrganizer/Pi"); QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); splash->setAlignment ( AlignCenter ); @@ -175,4 +176,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : showMaximized(); #endif + //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); setDefaultPreferences(); @@ -232,5 +234,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : if ( KPimGlobalPrefs::instance()->mPreferredLanguage != KOPrefs::instance()->mOldLoadedLanguage ) { - KOPrefs::instance()->setCategoryDefaults(); + KOPrefs::instance()->setAllDefaults(); int count = mView->addCategories(); } |