summaryrefslogtreecommitdiff
path: root/core/pim/todo/todoentryimpl.cpp
Side-by-side diff
Diffstat (limited to 'core/pim/todo/todoentryimpl.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoentryimpl.cpp4
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 @@
#include <qpe/timestring.h>
#include <qpe/palmtoprecord.h>
+#include <qlayout.h>
#include <qmessagebox.h>
#include <qpopupmenu.h>
#include <qtoolbutton.h>
@@ -90,6 +91,9 @@ NewTaskDialog::NewTaskDialog( int id, QWidget* parent, const char* name, bool m
void NewTaskDialog::init()
{
+ if( layout() != 0 ){
+ layout()->setMargin( 0 );
+ }
QPopupMenu *m1 = new QPopupMenu( this );
picker = new DateBookMonth( m1, 0, TRUE );
m1->insertItem( picker );