-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 @@ -134,2 +134,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : + #ifdef DESKTOP_VERSION @@ -145,5 +146,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : mFlagKeyPressed = false; - setCaption("KOrganizer/Pi"); - KPimGlobalPrefs::instance()->setGlobalConfig(); KOPrefs *p = KOPrefs::instance(); + KPimGlobalPrefs::instance()->setGlobalConfig(); if ( p->mHourSize > 18 ) @@ -170,2 +170,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : + setCaption("KOrganizer/Pi"); QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); @@ -176,2 +177,3 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : #endif + //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); @@ -233,3 +235,3 @@ 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(); |