summaryrefslogtreecommitdiff
path: root/core/pim/todo/mainwindow.cpp
Unidiff
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index 883d78c..fc17c5f 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -265,25 +265,25 @@ void TodoWindow::slotNew()
265 QArray<int> ids; 265 QArray<int> ids;
266 ids = table->currentEntry().categories(); 266 ids = table->currentEntry().categories();
267 if ( ids.count() ) 267 if ( ids.count() )
268 id = ids[0]; 268 id = ids[0];
269 NewTaskDialog e( id, this, 0, TRUE ); 269 NewTaskDialog e( id, this, 0, TRUE );
270 270
271 ToDoEvent todo; 271 ToDoEvent todo;
272 272
273#if defined(Q_WS_QWS) || defined(_WS_QWS_) 273#if defined(Q_WS_QWS) || defined(_WS_QWS_)
274 e.showMaximized(); 274 e.showMaximized();
275#endif 275#endif
276 int ret = e.exec(); 276 int ret = e.exec();
277 qWarning("finished" ); 277// qWarning("finished" );
278 if ( ret == QDialog::Accepted ) { 278 if ( ret == QDialog::Accepted ) {
279 table->setPaintingEnabled( false ); 279 table->setPaintingEnabled( false );
280 todo = e.todoEntry(); 280 todo = e.todoEntry();
281 //todo.assignUid(); 281 //todo.assignUid();
282 table->addEntry( todo ); 282 table->addEntry( todo );
283 table->setPaintingEnabled( true ); 283 table->setPaintingEnabled( true );
284 findAction->setEnabled( TRUE ); 284 findAction->setEnabled( TRUE );
285 } 285 }
286 // I'm afraid we must call this every time now, otherwise 286 // I'm afraid we must call this every time now, otherwise
287 // spend expensive time comparing all these strings... 287 // spend expensive time comparing all these strings...
288 populateCategories(); 288 populateCategories();
289} 289}