i forgot to adapt the button mapping at the changed button positions.

Thanks marsmissions for reporting.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=736006
This commit is contained in:
Andre Duffeck 2007-11-13 09:00:52 +00:00
parent 0a24d0948f
commit f1af4e3271

View File

@ -167,10 +167,11 @@ AppletHandle::ButtonType AppletHandle::mapToButton(const QPointF &point) const
return MoveButton; return MoveButton;
} }
activeArea.translate(QPointF(0.0, 42.0)); if( m_applet->hasConfigurationInterface() ) {
if (activeArea.containsPoint(point, Qt::OddEvenFill) activeArea.translate(QPointF(0.0, 42.0));
&& m_applet->hasConfigurationInterface()) { if (activeArea.containsPoint(point, Qt::OddEvenFill)) {
return ConfigureButton; return ConfigureButton;
}
} }
activeArea.translate(QPointF(0.0, 42.0)); activeArea.translate(QPointF(0.0, 42.0));