From 0cacabbdad6f78a5daa54f622e1b99e27d4340ed Mon Sep 17 00:00:00 2001 From: aseigo Date: Sun, 18 Jan 2009 22:32:36 +0000 Subject: [PATCH] dtor first git-svn-id: svn+ssh://svn.kde.org/home/kde/trunk/KDE/kdebase@913225 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- workspace/plasma/shells/desktop/panelview.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/workspace/plasma/shells/desktop/panelview.cpp b/workspace/plasma/shells/desktop/panelview.cpp index 5e5b1ee0..a2cddc21 100644 --- a/workspace/plasma/shells/desktop/panelview.cpp +++ b/workspace/plasma/shells/desktop/panelview.cpp @@ -249,6 +249,15 @@ PanelView::PanelView(Plasma::Containment *panel, int id, QWidget *parent) QTimer::singleShot(0, this, SLOT(init())); } +PanelView::~PanelView() +{ + delete m_glowBar; + destroyUnhideTrigger(); +#ifdef Q_WS_WIN + registerAccessBar(false); +#endif +} + void PanelView::init() { KConfigGroup viewConfig = config(); @@ -264,15 +273,6 @@ void PanelView::init() this, SLOT(updatePanelGeometry())); } -PanelView::~PanelView() -{ - delete m_glowBar; - destroyUnhideTrigger(); -#ifdef Q_WS_WIN - registerAccessBar(false); -#endif -} - void PanelView::setLocation(Plasma::Location location) { Plasma::Containment *c = containment(); -- 2.11.4.GIT