summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--krecipes/src/dialogs/ingredientgroupsdialog.cpp2
-rw-r--r--krecipes/src/dialogs/recipeinputdialog.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/krecipes/src/dialogs/ingredientgroupsdialog.cpp b/krecipes/src/dialogs/ingredientgroupsdialog.cpp
index 0d31f11..8edb0d6 100644
--- a/krecipes/src/dialogs/ingredientgroupsdialog.cpp
+++ b/krecipes/src/dialogs/ingredientgroupsdialog.cpp
@@ -30,7 +30,7 @@ IngredientGroupsDialog::IngredientGroupsDialog( RecipeDB *db, TQWidget *parent,
headerListView->setSizePolicy( TQSizePolicy( TQSizePolicy::Ignored, TQSizePolicy::MinimumExpanding ) );
layout->addWidget(headerListView);
- TQVBoxLayout *buttonLayout = new TQVBoxLayout(this);
+ TQVBoxLayout *buttonLayout = new TQVBoxLayout(NULL, 0, KDialog::spacingHint());
TQPushButton *addHeaderButton = new TQPushButton( this );
addHeaderButton->setText( "+" );
addHeaderButton->setMinimumSize( TQSize( 30, 30 ) );
diff --git a/krecipes/src/dialogs/recipeinputdialog.cpp b/krecipes/src/dialogs/recipeinputdialog.cpp
index 455b75f..05270c4 100644
--- a/krecipes/src/dialogs/recipeinputdialog.cpp
+++ b/krecipes/src/dialogs/recipeinputdialog.cpp
@@ -357,7 +357,7 @@ RecipeInputDialog::RecipeInputDialog( TQWidget* parent, RecipeDB *db ) : TQVBox(
ingredientList->setDefaultRenameAction( TQListView::Reject );
ingredientsLayout->addMultiCellWidget( ingredientList, 3, 9, 1, 3 );
- TQHBoxLayout *propertyStatusLayout = new TQHBoxLayout( ingredientGBox, 0, 5 );
+ TQHBoxLayout *propertyStatusLayout = new TQHBoxLayout( NULL, 0, 5 );
TQLabel *propertyLabel = new TQLabel( i18n("Property Status:"), ingredientGBox );
propertyStatusLabel = new TQLabel( ingredientGBox );
propertyStatusLed = new ClickableLed( ingredientGBox );