only click on left click

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=731159
This commit is contained in:
Aaron J. Seigo 2007-10-30 20:59:12 +00:00
parent c10ddbe353
commit fab534cf22

View File

@ -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());