author | zautrix <zautrix> | 2005-07-02 07:02:47 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2005-07-02 07:02:47 (UTC) |
commit | 58a4e6e5dcc24e2f5c17ef9f0e6879d625b5f764 (patch) (side-by-side diff) | |
tree | f2c6c5c541a76a9e77fe8176add728127c7b6a38 /korganizer/mainwindow.cpp | |
parent | b51bfb06293b34b77c46954253ab1b5220c8dd03 (diff) | |
download | kdepimpi-58a4e6e5dcc24e2f5c17ef9f0e6879d625b5f764.zip kdepimpi-58a4e6e5dcc24e2f5c17ef9f0e6879d625b5f764.tar.gz kdepimpi-58a4e6e5dcc24e2f5c17ef9f0e6879d625b5f764.tar.bz2 |
fixes
-rw-r--r-- | korganizer/mainwindow.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp index 862d437..f68f032 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp @@ -1913,4 +1913,5 @@ void MainWindow::backupAllFiles() void MainWindow::save() { + if ( mView->viewManager()->journalView() ) mView->viewManager()->journalView()->checkModified(); @@ -1932,4 +1933,5 @@ void MainWindow::save() } QTime neededSaveTime = QDateTime::currentDateTime().time(); + if ( !isMinimized () ) setCaption(i18n("KO/Pi:Saving Data to File ..." )); qDebug("KO: Start saving data to file!"); @@ -1940,5 +1942,8 @@ void MainWindow::save() QString savemes; savemes.sprintf(i18n("KO/Pi:File Saved. Needed %d sec, %d ms"),(msNeeded/1000)%100,msNeeded%1000 ); + if ( !isMinimized () ) setCaption(savemes); + else + qDebug(savemes); } else setCaption(i18n("Saving cancelled!")); |