-rw-r--r-- | core/pim/todo/mainwindow.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index 1358f1c..fa9c221 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -66,24 +66,25 @@ static QString todolistXMLFilename() static QString categoriesXMLFilename() { return Global::applicationFileName("todolist","categories.xml"); } TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) : QMainWindow( parent, name, f ), syncing(FALSE) { // QTime t; // t.start(); mView = 0l; mStack = new QWidgetStack(this, "main stack"); + setCentralWidget( mStack ); setCaption( tr("Todo") ); QString str; table = new TodoTable( this ); table->setColumnWidth( 2, 10 ); table->setPaintingEnabled( FALSE ); table->setUpdatesEnabled( FALSE ); table->viewport()->setUpdatesEnabled( FALSE ); { str = todolistXMLFilename(); if ( str.isNull() ) QMessageBox::critical( this, |