summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/todoentryimpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/pim/todo/todoentryimpl.cpp b/core/pim/todo/todoentryimpl.cpp
index 89f08e0..af47665 100644
--- a/core/pim/todo/todoentryimpl.cpp
+++ b/core/pim/todo/todoentryimpl.cpp
@@ -83,25 +83,25 @@ NewTaskDialog::NewTaskDialog( int id, QWidget* parent, const char* name, bool m
83{ 83{
84 if ( id != -1 ) { 84 if ( id != -1 ) {
85 QArray<int> ids( 1 ); 85 QArray<int> ids( 1 );
86 ids[0] = id; 86 ids[0] = id;
87 todo.setCategory( Qtopia::Record::idsToString( ids ) ); 87 todo.setCategory( Qtopia::Record::idsToString( ids ) );
88 } 88 }
89 init(); 89 init();
90} 90}
91 91
92void NewTaskDialog::init() 92void NewTaskDialog::init()
93{ 93{
94 if( layout() != 0 ){ 94 if( layout() != 0 ){
95 layout()->setMargin( 0 ); 95 layout()->setMargin( 2 );
96 } 96 }
97 QPopupMenu *m1 = new QPopupMenu( this ); 97 QPopupMenu *m1 = new QPopupMenu( this );
98 picker = new DateBookMonth( m1, 0, TRUE ); 98 picker = new DateBookMonth( m1, 0, TRUE );
99 m1->insertItem( picker ); 99 m1->insertItem( picker );
100 buttonDate->setPopup( m1 ); 100 buttonDate->setPopup( m1 );
101 comboCategory->setCategories( todo.categories(), "Todo List", tr("Todo List") ); 101 comboCategory->setCategories( todo.categories(), "Todo List", tr("Todo List") );
102 102
103 connect( picker, SIGNAL( dateClicked( int, int, int ) ), 103 connect( picker, SIGNAL( dateClicked( int, int, int ) ),
104 this, SLOT( dateChanged( int, int, int ) ) ); 104 this, SLOT( dateChanged( int, int, int ) ) );
105 105
106 buttonDate->setText( TimeString::longDateString( date ) ); 106 buttonDate->setText( TimeString::longDateString( date ) );
107 picker->setDate( date.year(), date.month(), date.day() ); 107 picker->setDate( date.year(), date.month(), date.day() );