From 2acca9aff5bd651923b5d728712a0fd80b3d54e9 Mon Sep 17 00:00:00 2001 From: zautrix Date: Tue, 23 Aug 2005 21:48:53 +0000 Subject: fastload fixes --- (limited to 'korganizer') 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(); -- cgit v0.9.0.2