[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/plasma/desktop/containments/panel
From: Aaron J. Seigo <aseigo () kde ! org>
Date: 2011-01-18 22:56:24
Message-ID: 20110118225624.3C91FAC8B7 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1215508 by aseigo:
update the borders when the svg signals; no need to use the theme for this
M +1 -7 panel.cpp
M +0 -1 panel.h
--- trunk/KDE/kdebase/workspace/plasma/desktop/containments/panel/panel.cpp #1215507:1215508
@@ -107,8 +107,6 @@
setMinimumSize(m_currentSize);
setMaximumSize(m_currentSize);
- connect(Plasma::Theme::defaultTheme(), SIGNAL(themeChanged()), this, SLOT(themeUpdated()));
-
connect(this, SIGNAL(appletRemoved(Plasma::Applet*)),
this, SLOT(appletWasRemoved(Plasma::Applet*)));
setContainmentType(Containment::PanelContainment);
@@ -169,6 +167,7 @@
void Panel::backgroundChanged()
{
constraintsEvent(Plasma::LocationConstraint);
+ updateBorders(geometry().toRect());
}
void Panel::adjustLastSpace()
@@ -547,11 +546,6 @@
config.writeEntry("maximumSize", maximumSize());
}
-void Panel::themeUpdated()
-{
- updateBorders(geometry().toRect());
-}
-
void Panel::paintInterface(QPainter *painter,
const QStyleOptionGraphicsItem *option,
const QRect& contentsRect)
--- trunk/KDE/kdebase/workspace/plasma/desktop/containments/panel/panel.h #1215507:1215508
@@ -61,7 +61,6 @@
void restore(KConfigGroup &group);
private slots:
- void themeUpdated();
void backgroundChanged();
void layoutApplet(Plasma::Applet* applet, const QPointF &pos);
void appletWasRemoved(Plasma::Applet* applet);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic