author | zecke <zecke> | 2003-01-23 08:01:39 (UTC) |
---|---|---|
committer | zecke <zecke> | 2003-01-23 08:01:39 (UTC) |
commit | 197b10539409b5650170879b904b9f781294866e (patch) (side-by-side diff) | |
tree | 5800e0a557386527737f561dd78a6e8d156f9c3d | |
parent | 7c63d26d6c1a4e13a957ab79e58931c551e91eb8 (diff) | |
download | opie-197b10539409b5650170879b904b9f781294866e.zip opie-197b10539409b5650170879b904b9f781294866e.tar.gz opie-197b10539409b5650170879b904b9f781294866e.tar.bz2 |
take the right parent for the MultiLineEdit
-rw-r--r-- | core/pim/todo/taskeditoroverview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/core/pim/todo/taskeditoroverview.cpp b/core/pim/todo/taskeditoroverview.cpp index 89e553f..5e2b026 100644 --- a/core/pim/todo/taskeditoroverview.cpp +++ b/core/pim/todo/taskeditoroverview.cpp @@ -64,9 +64,9 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla QWidget *container = new QWidget( sv->viewport() ); sv->addChild( container ); - QGridLayout *layout = new QGridLayout( container, 7, 2, 4, 4 ); + QGridLayout *layout = new QGridLayout( container, 7, 2, 4, 4 ); // Description QLabel *label = new QLabel( tr( "Description:" ), container ); layout->addWidget( label, 0, 0 ); @@ -118,9 +118,9 @@ TaskEditorOverView::TaskEditorOverView( QWidget* parent, const char* name, WFla // Notes label = new QLabel( tr( "Notes:" ), container ); layout->addWidget( label, 5, 0 ); QWhatsThis::add( label, tr( "Enter any additional information about this task here." ) ); - mleNotes = new QMultiLineEdit( this ); + mleNotes = new QMultiLineEdit( container ); mleNotes->setWordWrap( QMultiLineEdit::WidgetWidth ); layout->addMultiCellWidget( mleNotes, 6, 6, 0, 1 ); QWhatsThis::add( mleNotes, tr( "Enter any additional information about this task here." ) ); } @@ -164,9 +164,9 @@ void TaskEditorOverView::save( OTodo &todo ) QArray<int> arr = cmbCategory->currentCategories(); todo.setCategories( arr ); } - // Recurrence - don't need to save here... + // Recurrence - don't need to save here... // Notes todo.setDescription( mleNotes->text() ); } |