summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (show whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index f0aa455..0ccf73e 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -212,6 +212,4 @@ void MainWindow::initConfig() {
void MainWindow::initUI() {
- m_mainBox = new QVBox(this, "main box ");
-
- m_stack = new QWidgetStack(m_mainBox, "main stack");
- setCentralWidget( m_mainBox );
+ m_stack = new QWidgetStack(this, "main stack");
+ setCentralWidget( m_stack );