-rw-r--r-- | core/pim/todo/mainwindow.cpp | 3 | ||||
-rw-r--r-- | core/pim/todo/todoeditor.cpp | 9 |
2 files changed, 5 insertions, 7 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index d06a405..fc189bd 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -1030,4 +1030,3 @@ void MainWindow::doAlarm( const QDateTime& dt, int uid ) { - dlg.showMaximized(); - bool needToStay = dlg.exec(); + bool needToStay = QPEApplication::execDialog( &dlg ); diff --git a/core/pim/todo/todoeditor.cpp b/core/pim/todo/todoeditor.cpp index c204325..78aedd6 100644 --- a/core/pim/todo/todoeditor.cpp +++ b/core/pim/todo/todoeditor.cpp @@ -1,2 +1,4 @@ +#include <qpe/qpeapplication.h> + #include "otaskeditor.h" @@ -21,6 +23,4 @@ OTodo Editor::newTodo( int cur, + int ret = QPEApplication::execDialog( e ); - e->showMaximized(); - - int ret = e->exec(); if ( QDialog::Accepted == ret ) { @@ -43,4 +43,3 @@ OTodo Editor::edit( QWidget *, - e->showMaximized(); - int ret = e->exec(); + int ret = QPEApplication::execDialog( e ); |