diff options
| author | Peter Penz <[email protected]> | 2010-05-29 11:44:28 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-05-29 11:44:28 +0000 |
| commit | c62cb08d1400bc5a084638e8ae467303d343a92c (patch) | |
| tree | 37271f9431d69f4915dd2be3e51848119a01a441 /src/panels/information/informationpanel.cpp | |
| parent | db8c956b345803022259388be5457d2f1b524548 (diff) | |
Fix the nasty layout reparenting by adding the InformationPanelContent into a layout. Thanks to Sebastian Trüg for the hint!
CCMAIL: [email protected]
svn path=/trunk/KDE/kdebase/apps/; revision=1132028
Diffstat (limited to 'src/panels/information/informationpanel.cpp')
| -rw-r--r-- | src/panels/information/informationpanel.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/panels/information/informationpanel.cpp b/src/panels/information/informationpanel.cpp index 82b52e4f6..f15cf05d5 100644 --- a/src/panels/information/informationpanel.cpp +++ b/src/panels/information/informationpanel.cpp @@ -20,6 +20,7 @@ #include "informationpanel.h" #include <kdirnotify.h> #include <QShowEvent> +#include <QVBoxLayout> #include "informationpanelcontent.h" InformationPanel::InformationPanel(QWidget* parent) : @@ -323,6 +324,9 @@ void InformationPanel::init() m_content = new InformationPanelContent(this); connect(m_content, SIGNAL(urlActivated(KUrl)), this, SIGNAL(urlActivated(KUrl))); + + QVBoxLayout* layout = new QVBoxLayout(this); + layout->addWidget(m_content); m_initialized = true; } |
