don't set the cursor if alt is held
BUG:228959 svn path=/trunk/KDE/kdelibs/; revision=1098440
This commit is contained in:
parent
8c2dc5036a
commit
3dff1d2d99
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user