author | zautrix <zautrix> | 2005-08-23 21:48:53 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-08-23 21:48:53 (UTC) |
commit | 2acca9aff5bd651923b5d728712a0fd80b3d54e9 (patch) (side-by-side diff) | |
tree | c2113d441908520d86902a8a9fade08eb05ee0d0 /korganizer | |
parent | 6f5464760f5fb1e4c13027464cfe4943b85d29a0 (diff) | |
download | kdepimpi-2acca9aff5bd651923b5d728712a0fd80b3d54e9.zip kdepimpi-2acca9aff5bd651923b5d728712a0fd80b3d54e9.tar.gz kdepimpi-2acca9aff5bd651923b5d728712a0fd80b3d54e9.tar.bz2 |
fastload fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 8c72d89..70baf5c 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -289,18 +289,19 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : mCalendarModifiedFlag = false; - QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); - splash->setAlignment ( AlignCenter ); - setCentralWidget( splash ); + // QLabel* splash = new QLabel(i18n("KO/Pi is starting ... "), this ); + //splash->setAlignment ( AlignCenter ); + //setCentralWidget( splash ); #ifndef DESKTOP_VERSION - showMaximized(); + //showMaximized(); #endif //qDebug("Mainwidget x %d y %d w %d h %d", x(), y(), width(), height ()); setDefaultPreferences(); mCalendar = new CalendarLocal(); mView = new CalendarView( mCalendar, this,"mCalendar " ); - mView->hide(); + setCentralWidget( mView ); + //mView->hide(); //mView->resize(splash->size() ); initActions(); mSyncManager = new KSyncManager((QWidget*)this, (KSyncInterface*)mView, KSyncManager::KOPI, KOPrefs::instance(), syncMenu); @@ -361,8 +362,8 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : connect( &mSaveTimer, SIGNAL( timeout() ), SLOT( save() ) ); setCentralWidget( mView ); globalFlagBlockStartup = 0; - mView->show(); - delete splash; + //mView->show(); + //delete splash; if ( newFile ) mView->updateConfig(); // qApp->processEvents(); |