diff options
author | Michele Calgaro <[email protected]> | 2014-07-10 12:42:24 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2014-07-10 12:42:24 +0900 |
commit | fa0b2dc58315acb594a5725438e9fd436e510cc8 (patch) | |
tree | 8122ddda654ab1e02317563503ba97555bc9d0ec | |
parent | 3b3d8c5fb47efde2f12e93bb9c06f790bc521776 (diff) | |
download | krecipes-fa0b2dc58315acb594a5725438e9fd436e510cc8.tar.gz krecipes-fa0b2dc58315acb594a5725438e9fd436e510cc8.zip |
Fixed layout warning messages at startup. This resolves bug 1892.
-rw-r--r-- | krecipes/src/dialogs/ingredientgroupsdialog.cpp | 2 | ||||
-rw-r--r-- | krecipes/src/dialogs/recipeinputdialog.cpp | 2 |
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 ); |