-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 @@ -291,7 +291,7 @@ 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 @@ -302,3 +302,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : mView = new CalendarView( mCalendar, this,"mCalendar " ); - mView->hide(); + setCentralWidget( mView ); + //mView->hide(); //mView->resize(splash->size() ); @@ -363,4 +364,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name ) : globalFlagBlockStartup = 0; - mView->show(); - delete splash; + //mView->show(); + //delete splash; if ( newFile ) |