Diffstat (limited to 'core/pim/todo/todoentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/todoentryimpl.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp index dd01130..6af229c 100644 --- a/core/pim/todo/todoentryimpl.cpp +++ b/core/pim/todo/todoentryimpl.cpp | |||
@@ -32,8 +32,9 @@ | |||
32 | #include <qpe/imageedit.h> | 32 | #include <qpe/imageedit.h> |
33 | #include <qpe/timestring.h> | 33 | #include <qpe/timestring.h> |
34 | #include <qpe/palmtoprecord.h> | 34 | #include <qpe/palmtoprecord.h> |
35 | 35 | ||
36 | #include <qlayout.h> | ||
36 | #include <qmessagebox.h> | 37 | #include <qmessagebox.h> |
37 | #include <qpopupmenu.h> | 38 | #include <qpopupmenu.h> |
38 | #include <qtoolbutton.h> | 39 | #include <qtoolbutton.h> |
39 | #include <qcombobox.h> | 40 | #include <qcombobox.h> |
@@ -89,8 +90,11 @@ NewTaskDialog::NewTaskDialog( int id, QWidget* parent, const char* name, bool m | |||
89 | } | 90 | } |
90 | 91 | ||
91 | void NewTaskDialog::init() | 92 | void NewTaskDialog::init() |
92 | { | 93 | { |
94 | if( layout() != 0 ){ | ||
95 | layout()->setMargin( 0 ); | ||
96 | } | ||
93 | QPopupMenu *m1 = new QPopupMenu( this ); | 97 | QPopupMenu *m1 = new QPopupMenu( this ); |
94 | picker = new DateBookMonth( m1, 0, TRUE ); | 98 | picker = new DateBookMonth( m1, 0, TRUE ); |
95 | m1->insertItem( picker ); | 99 | m1->insertItem( picker ); |
96 | buttonDate->setPopup( m1 ); | 100 | buttonDate->setPopup( m1 ); |