From 3dff1d2d99e4a68ebdb45c0e4dffbde8c0f7b5ce Mon Sep 17 00:00:00 2001 From: "Aaron J. Seigo" Date: Wed, 3 Mar 2010 18:12:33 +0000 Subject: [PATCH] don't set the cursor if alt is held BUG:228959 svn path=/trunk/KDE/kdelibs/; revision=1098440 --- dialog.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dialog.cpp b/dialog.cpp index 269344b74..efa37abd4 100644 --- a/dialog.cpp +++ b/dialog.cpp @@ -348,7 +348,9 @@ void Dialog::paintEvent(QPaintEvent *e) void Dialog::mouseMoveEvent(QMouseEvent *event) { - if (d->resizeAreas[Dialog::NorthEast].contains(event->pos())) { + if (event->modifiers() == Qt::AltModifier) { + unsetCursor(); + } else if (d->resizeAreas[Dialog::NorthEast].contains(event->pos())) { setCursor(Qt::SizeBDiagCursor); } else if (d->resizeAreas[Dialog::NorthWest].contains(event->pos())) { setCursor(Qt::SizeFDiagCursor);