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/viewsettingspage.cpp | |
| parent | c1af91aab193cf34b36bfacd39805eeaa48e19b1 (diff) | |
Setting the right parent definitely helps. :-)
svn path=/trunk/playground/utils/dolphin/; revision=607770
Diffstat (limited to 'src/viewsettingspage.cpp')
| -rw-r--r-- | src/viewsettingspage.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/viewsettingspage.cpp b/src/viewsettingspage.cpp index d352266af..ee817a06a 100644 --- a/src/viewsettingspage.cpp +++ b/src/viewsettingspage.cpp @@ -36,9 +36,9 @@ ViewSettingsPage::ViewSettingsPage(QWidget *parent) : m_detailsPage(0), m_previewsPage(0) { - Q3VBoxLayout* topLayout = new Q3VBoxLayout(parent, 0, KDialog::spacingHint()); + Q3VBoxLayout* topLayout = new Q3VBoxLayout(this, 0, KDialog::spacingHint()); - QTabWidget* tabWidget = new QTabWidget(parent); + QTabWidget* tabWidget = new QTabWidget(this); // initialize 'Icons' tab m_iconsPage = new IconsViewSettingsPage(/*DolphinIconsView::Icons,*/ tabWidget); |
