SVN commit 872625 by bettio:
Calling updateGeometry() from constraintsEvent *is never* a good idea. Please
don't do that.
CCMAIL: [email protected]
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);
_______________________________________________
Plasma-devel mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/plasma-devel