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:
parent
0a24d0948f
commit
f1af4e3271
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user