author | zecke <zecke> | 2002-06-17 15:41:06 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-06-17 15:41:06 (UTC) |
commit | 02e724757f13f40d85136c3a14e0a3788d28236e (patch) (unidiff) | |
tree | e927455a1b5f0b5e6739f180106dbc98b60628c0 /core/pim/todo/todoentryimpl.cpp | |
parent | dcba3fed4f2abf001ced72b573f6e50f6b37e1e6 (diff) | |
download | opie-02e724757f13f40d85136c3a14e0a3788d28236e.zip opie-02e724757f13f40d85136c3a14e0a3788d28236e.tar.gz opie-02e724757f13f40d85136c3a14e0a3788d28236e.tar.bz2 |
Fool Qt and fool QtDesigner to unfuck the designer .ui *evilgrin*
Diffstat (limited to 'core/pim/todo/todoentryimpl.cpp') (more/less context) (show 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 ); |