-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 fb6d6ec..23537a6 100644 --- a/korganizer/mainwindow.cpp +++ b/korganizer/mainwindow.cpp | |||
@@ -1826,27 +1826,25 @@ void MainWindow::saveOnClose() | |||
1826 | 1826 | ||
1827 | if ( p->mToolBarHorN ) | 1827 | if ( p->mToolBarHorN ) |
1828 | p->mToolBarUpN = navigatorToolBar->y() > height()/2; | 1828 | p->mToolBarUpN = navigatorToolBar->y() > height()/2; |
1829 | else | 1829 | else |
1830 | p->mToolBarUpN = navigatorToolBar->x() > width()/2 ; | 1830 | p->mToolBarUpN = navigatorToolBar->x() > width()/2 ; |
1831 | if ( filterToolBar ) { | 1831 | if ( filterToolBar ) { |
1832 | if ( p->mToolBarHorF ) | 1832 | if ( p->mToolBarHorF ) |
1833 | p->mToolBarUpF = filterToolBar->y() > height()/2; | 1833 | p->mToolBarUpF = filterToolBar->y() > height()/2; |
1834 | else | 1834 | else |
1835 | p->mToolBarUpF = filterToolBar->x() > width()/2 ; | 1835 | p->mToolBarUpF = filterToolBar->x() > width()/2 ; |
1836 | } | 1836 | } |
1837 | #endif | 1837 | #endif |
1838 | if ( mView->viewManager()->journalView() ) | 1838 | |
1839 | mView->viewManager()->journalView()->checkModified(); | ||
1840 | if ( mCalendarModifiedFlag || mView->checkFileChanged( defaultFileName())) | ||
1841 | save(); | 1839 | save(); |
1842 | mView->writeSettings(); | 1840 | mView->writeSettings(); |
1843 | } | 1841 | } |
1844 | void MainWindow::slotModifiedChanged( bool changed ) | 1842 | void MainWindow::slotModifiedChanged( bool changed ) |
1845 | { | 1843 | { |
1846 | if ( mBlockAtStartup ) | 1844 | if ( mBlockAtStartup ) |
1847 | return; | 1845 | return; |
1848 | 1846 | ||
1849 | int msec; | 1847 | int msec; |
1850 | // we store the changes after 1 minute, | 1848 | // we store the changes after 1 minute, |
1851 | // and for safety reasons after 10 minutes again | 1849 | // and for safety reasons after 10 minutes again |
1852 | if ( !mSyncManager->blockSave() ) | 1850 | if ( !mSyncManager->blockSave() ) |