From 02e724757f13f40d85136c3a14e0a3788d28236e Mon Sep 17 00:00:00 2001 From: zecke Date: Mon, 17 Jun 2002 15:41:06 +0000 Subject: Fool Qt and fool QtDesigner to unfuck the designer .ui *evilgrin* --- (limited to 'core/pim/todo/todoentryimpl.cpp') 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 #include +#include #include #include #include @@ -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 ); -- cgit v0.9.0.2