only click on left click
svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731159
This commit is contained in:
parent
c10ddbe353
commit
fab534cf22
@ -915,6 +915,11 @@ bool Icon::isDown()
|
||||
|
||||
void Icon::mousePressEvent(QGraphicsSceneMouseEvent *event)
|
||||
{
|
||||
if (event->button() != Qt::LeftButton) {
|
||||
Widget::mousePressEvent(event);
|
||||
return;
|
||||
}
|
||||
|
||||
//kDebug();
|
||||
foreach (IconAction *action, d->cornerActions) {
|
||||
action->event(event->type(), event->pos());
|
||||
|
Loading…
Reference in New Issue
Block a user