author | zautrix <zautrix> | 2004-09-03 17:42:58 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-03 17:42:58 (UTC) |
commit | 14399c0c21955d30b2d69684e0cf11edb9fd9b63 (patch) (unidiff) | |
tree | d67641ad53f6cb5a995c0d71e53c9ce1b5290cf8 /korganizer | |
parent | 2c4701b1c272ac82a457001be72ecb7fcfd09f22 (diff) | |
download | kdepimpi-14399c0c21955d30b2d69684e0cf11edb9fd9b63.zip kdepimpi-14399c0c21955d30b2d69684e0cf11edb9fd9b63.tar.gz kdepimpi-14399c0c21955d30b2d69684e0cf11edb9fd9b63.tar.bz2 |
Implemented a feature request
-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 | |||
@@ -214,8 +214,16 @@ MainWindow::~MainWindow() | |||
214 | delete KIncidenceFormatter::instance(); | 214 | delete KIncidenceFormatter::instance(); |
215 | 215 | ||
216 | 216 | ||
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 ) |
219 | { | 227 | { |
220 | 228 | ||
221 | 229 | ||
diff --git a/korganizer/mainwindow.h b/korganizer/mainwindow.h index 1d87db0..3e854cb 100644 --- a/korganizer/mainwindow.h +++ b/korganizer/mainwindow.h | |||
@@ -30,8 +30,9 @@ class MainWindow : public QMainWindow | |||
30 | public: | 30 | public: |
31 | MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); | 31 | MainWindow( QWidget *parent = 0, const char *name = 0, QString command = ""); |
32 | ~MainWindow(); | 32 | ~MainWindow(); |
33 | public slots: | 33 | public slots: |
34 | virtual void showMaximized (); | ||
34 | void configureAgenda( int ); | 35 | void configureAgenda( int ); |
35 | void recieve( const QCString& msg, const QByteArray& data ); | 36 | void recieve( const QCString& msg, const QByteArray& data ); |
36 | static QString defaultFileName(); | 37 | static QString defaultFileName(); |
37 | static QString resourcePath(); | 38 | static QString resourcePath(); |