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 | |||
@@ -33,6 +33,7 @@ | |||
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> |
@@ -90,6 +91,9 @@ NewTaskDialog::NewTaskDialog( int id, QWidget* parent, const char* name, bool m | |||
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 ); |