Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index ecb4e40..ad7899f 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -55,2 +55,3 @@ #include <opie/otodoaccessvcal.h> +#include <opie/owidgetstack.h> @@ -75,2 +76,5 @@ MainWindow::MainWindow( QWidget* parent, { + if (!name) + setName("todo window"); + m_syncing = false; @@ -226,3 +230,3 @@ void MainWindow::initUI() { - m_stack = new QWidgetStack(this, "main stack"); + m_stack = new OWidgetStack(this, "main stack"); @@ -407,2 +411,3 @@ void MainWindow::closeEvent( QCloseEvent* e ) { e->accept(); + qApp->quit(); } |