-rw-r--r-- | core/pim/todo/mainwindow.cpp | 6 |
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() { | |||
212 | void MainWindow::initUI() { | 212 | void MainWindow::initUI() { |
213 | m_mainBox = new QVBox(this, "main box "); | 213 | m_stack = new QWidgetStack(this, "main stack"); |
214 | 214 | setCentralWidget( m_stack ); | |
215 | m_stack = new QWidgetStack(m_mainBox, "main stack"); | ||
216 | setCentralWidget( m_mainBox ); | ||
217 | 215 | ||