-rw-r--r-- | core/pim/todo/mainwindow.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 6725951..ecb4e40 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -56,2 +56,4 @@ +#include <opie/oapplicationfactory.h> + #include "quickeditimpl.h" @@ -65,2 +67,3 @@ +OPIE_EXPORT_APP( OApplicationFactory<Todo::MainWindow> ) @@ -69,3 +72,3 @@ using namespace Todo; MainWindow::MainWindow( QWidget* parent, - const char* name ) + const char* name, WFlags ) : OPimMainWindow( "Todolist", parent, name, WType_TopLevel | WStyle_ContextHelp ) @@ -352,2 +355,3 @@ TodoShow* MainWindow::currentShow() { void MainWindow::slotReload() { + m_syncing = FALSE; m_todoMgr.reload(); @@ -613,3 +617,3 @@ void MainWindow::receiveFile( const QString& filename ) { void MainWindow::slotFlush() { - m_syncing = FALSE; + m_syncing = TRUE; m_todoMgr.save(); |