-rw-r--r-- | korganizer/mainwindow.cpp | 8 | ||||
-rw-r--r-- | korganizer/mainwindow.h | 1 |
2 files changed, 9 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 | |||
@@ -217,2 +217,10 @@ MainWindow::~MainWindow() | |||
217 | } | 217 | } |
218 | void MainWindow::showMaximized () | ||
219 | { | ||
220 | #ifndef DESKTOP_VERSION | ||
221 | if ( ! globalFlagBlockStartup ) | ||
222 | mView->goToday(); | ||
223 | #endif | ||
224 | QWidget::showMaximized () ; | ||
225 | } | ||
218 | void MainWindow::closeEvent( QCloseEvent* ce ) | 226 | void MainWindow::closeEvent( QCloseEvent* ce ) |
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 1d87db0..3e854cb 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -33,2 +33,3 @@ class MainWindow : public QMainWindow | |||
33 | public slots: | 33 | public slots: |
34 | virtual void showMaximized (); | ||
34 | void configureAgenda( int ); | 35 | void configureAgenda( int ); |