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;
|
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));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user