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;
}
activeArea.translate(QPointF(0.0, 42.0));
if (activeArea.containsPoint(point, Qt::OddEvenFill)
&& m_applet->hasConfigurationInterface()) {
return ConfigureButton;
if( m_applet->hasConfigurationInterface() ) {
activeArea.translate(QPointF(0.0, 42.0));
if (activeArea.containsPoint(point, Qt::OddEvenFill)) {
return ConfigureButton;
}
}
activeArea.translate(QPointF(0.0, 42.0));