-rw-r--r-- | korganizer/mainwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 4b00062..d4fadcb 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -212,12 +212,20 @@ MainWindow::~MainWindow() delete mCalendar; delete KOPrefs::instance(); delete KIncidenceFormatter::instance(); } +void MainWindow::showMaximized () +{ +#ifndef DESKTOP_VERSION + if ( ! globalFlagBlockStartup ) + mView->goToday(); +#endif + QWidget::showMaximized () ; +} void MainWindow::closeEvent( QCloseEvent* ce ) { if ( ! KOPrefs::instance()->mAskForQuit ) { |