diff options
| author | Kevin Ottens <[email protected]> | 2006-11-25 17:46:22 +0000 |
|---|---|---|
| committer | Kevin Ottens <[email protected]> | 2006-11-25 17:46:22 +0000 |
| commit | 09c69ff81161fcf726fefa549a26f426d7d799f3 (patch) | |
| tree | f52c79294f29003cb2f564ce6110b6dd4027d03a /src/generalsettingspage.cpp | |
| parent | c1af91aab193cf34b36bfacd39805eeaa48e19b1 (diff) | |
Setting the right parent definitely helps. :-)
svn path=/trunk/playground/utils/dolphin/; revision=607770
Diffstat (limited to 'src/generalsettingspage.cpp')
| -rw-r--r-- | src/generalsettingspage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/generalsettingspage.cpp b/src/generalsettingspage.cpp index 64f37161c..d7b72aa6a 100644 --- a/src/generalsettingspage.cpp +++ b/src/generalsettingspage.cpp @@ -48,7 +48,7 @@ GeneralSettingsPage::GeneralSettingsPage(QWidget* parent) : m_startSplit(0), m_startEditable(0) { - Q3VBoxLayout* topLayout = new Q3VBoxLayout(parent, 2, KDialog::spacingHint()); + Q3VBoxLayout* topLayout = new Q3VBoxLayout(this, 2, KDialog::spacingHint()); const int spacing = KDialog::spacingHint(); const int margin = KDialog::marginHint(); @@ -56,7 +56,7 @@ GeneralSettingsPage::GeneralSettingsPage(QWidget* parent) : GeneralSettings* settings = DolphinSettings::instance().generalSettings(); - KVBox* vBox = new KVBox(parent); + KVBox* vBox = new KVBox(this); vBox->setSizePolicy(sizePolicy); vBox->setSpacing(spacing); vBox->setMargin(margin); |
