summaryrefslogtreecommitdiffabout
path: root/korganizer
Side-by-side diff
Diffstat (limited to 'korganizer') (more/less context) (ignore whitespace changes)
-rw-r--r--korganizer/kojournalview.cpp1
-rw-r--r--korganizer/mainwindow.cpp6
2 files changed, 2 insertions, 5 deletions
diff --git a/korganizer/kojournalview.cpp b/korganizer/kojournalview.cpp
index 51ae0a0..7a96aa5 100644
--- a/korganizer/kojournalview.cpp
+++ b/korganizer/kojournalview.cpp
@@ -121,5 +121,4 @@ void KOJournalView::updateView()
void KOJournalView::checkModified()
{
- qDebug("checkmod ");
flushView();
}
diff --git a/korganizer/mainwindow.cpp b/korganizer/mainwindow.cpp
index fb6d6ec..23537a6 100644
--- a/korganizer/mainwindow.cpp
+++ b/korganizer/mainwindow.cpp
@@ -1836,8 +1836,6 @@ void MainWindow::saveOnClose()
}
#endif
- if ( mView->viewManager()->journalView() )
- mView->viewManager()->journalView()->checkModified();
- if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName()))
- save();
+
+ save();
mView->writeSettings();
}