author | zautrix <zautrix> | 2004-10-05 08:32:25 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-10-05 08:32:25 (UTC) |
commit | 701cd3c2b2b713c12797f5bda24c35d3a7889539 (patch) (unidiff) | |
tree | 56d07b2f4a050fbc839ab6435b2266e8a52a08ba /korganizer/mainwindow.cpp | |
parent | ad859d26b813101adab963f50e694961702561d9 (diff) | |
download | kdepimpi-701cd3c2b2b713c12797f5bda24c35d3a7889539.zip kdepimpi-701cd3c2b2b713c12797f5bda24c35d3a7889539.tar.gz kdepimpi-701cd3c2b2b713c12797f5bda24c35d3a7889539.tar.bz2 |
warning dialog fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 43ee2d7..7b666d1 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -145,5 +145,4 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : | |||
145 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); | 145 | //qDebug("MainView x %d y %d w %d h %d", mView->x(),mView-> y(), mView->width(), mView->height ()); |
146 | mView->readSettings(); | 146 | mView->readSettings(); |
147 | bool oldOpened = false; | ||
148 | bool newFile = false; | 147 | bool newFile = false; |
149 | if( !QFile::exists( defaultFileName() ) ) { | 148 | if( !QFile::exists( defaultFileName() ) ) { |
@@ -171,6 +170,5 @@ MainWindow::MainWindow( QWidget *parent, const char *name, QString msg) : | |||
171 | 170 | ||
172 | QTime neededSaveTime = QDateTime::currentDateTime().time(); | 171 | QTime neededSaveTime = QDateTime::currentDateTime().time(); |
173 | if ( ! oldOpened ) | 172 | mView->openCalendar( defaultFileName() ); |
174 | mView->openCalendar( defaultFileName() ); | ||
175 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); | 173 | int msNeeded = neededSaveTime.msecsTo( QDateTime::currentDateTime().time() ); |
176 | qDebug("KO: Calendar loading time: %d ms",msNeeded ); | 174 | qDebug("KO: Calendar loading time: %d ms",msNeeded ); |