-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() | |||
66 | static QString categoriesXMLFilename() | 66 | static QString categoriesXMLFilename() |
67 | { | 67 | { |
68 | return Global::applicationFileName("todolist","categories.xml"); | 68 | return Global::applicationFileName("todolist","categories.xml"); |
69 | } | 69 | } |
70 | 70 | ||
71 | TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) : | 71 | TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) : |
72 | QMainWindow( parent, name, f ), syncing(FALSE) | 72 | QMainWindow( parent, name, f ), syncing(FALSE) |
73 | { | 73 | { |
74 | // QTime t; | 74 | // QTime t; |
75 | // t.start(); | 75 | // t.start(); |
76 | mView = 0l; | 76 | mView = 0l; |
77 | mStack = new QWidgetStack(this, "main stack"); | 77 | mStack = new QWidgetStack(this, "main stack"); |
78 | setCentralWidget( mStack ); | ||
78 | setCaption( tr("Todo") ); | 79 | setCaption( tr("Todo") ); |
79 | QString str; | 80 | QString str; |
80 | table = new TodoTable( this ); | 81 | table = new TodoTable( this ); |
81 | table->setColumnWidth( 2, 10 ); | 82 | table->setColumnWidth( 2, 10 ); |
82 | table->setPaintingEnabled( FALSE ); | 83 | table->setPaintingEnabled( FALSE ); |
83 | table->setUpdatesEnabled( FALSE ); | 84 | table->setUpdatesEnabled( FALSE ); |
84 | table->viewport()->setUpdatesEnabled( FALSE ); | 85 | table->viewport()->setUpdatesEnabled( FALSE ); |
85 | 86 | ||
86 | { | 87 | { |
87 | str = todolistXMLFilename(); | 88 | str = todolistXMLFilename(); |
88 | if ( str.isNull() ) | 89 | if ( str.isNull() ) |
89 | QMessageBox::critical( this, | 90 | QMessageBox::critical( this, |