KDE/kdeplasma-addons/applets/dict
Davide Bettio
davbet at aliceposta.it
Fri Oct 17 19:09:33 CEST 2008
SVN commit 872625 by bettio:
Calling updateGeometry() from constraintsEvent *is never* a good idea. Please don't do that.
CCMAIL: plasma-devel at kde.org
M +0 -10 dict.cpp
M +0 -1 dict.h
--- trunk/KDE/kdeplasma-addons/applets/dict/dict.cpp #872624:872625
@@ -114,16 +114,6 @@
define();
}
-void Dict::constraintsEvent(Plasma::Constraints constraints)
-{
- if (constraints & Plasma::FormFactorConstraint) {
- //updateGeometry();
- }
- if (constraints & Plasma::SizeConstraint) {
- updateGeometry();
- }
-}
-
void Dict::dataUpdated(const QString& source, const Plasma::DataEngine::Data &data)
{
Q_UNUSED(source);
--- trunk/KDE/kdeplasma-addons/applets/dict/dict.h #872624:872625
@@ -48,7 +48,6 @@
void init();
void setPath(const QString&);
- void constraintsEvent(Plasma::Constraints);
public slots:
void dataUpdated(const QString &name, const Plasma::DataEngine::Data &data);
More information about the Plasma-devel
mailing list