summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel.grandin@collabora.co.uk>2018-01-08 09:40:00 +0200
committerNoel Grandin <noel.grandin@collabora.co.uk>2018-01-08 09:40:00 +0200
commit8332e9791c786c89737389bee296260b05b71040 (patch)
tree6ac58d815e376a9b712d64d46f70a2dae6a5e28c /vcl
parenta4ca332afd13d3f9309eee4b48d93bfe3b2a4fe1 (diff)
loplugin:staticaccess in qt5 plugin
Change-Id: Ic6a895f9dd9d1474681217d6ddfd31898f916c2c
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qt5/Qt5Frame.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index c3cc768af37c..fc64e7ffe7d4 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -470,8 +470,8 @@ SalFrame::SalPointerState Qt5Frame::GetPointerState()
SalPointerState aState;
QPoint pos = QCursor::pos();
aState.maPos = Point(pos.x(), pos.y());
- aState.mnState
- = GetMouseModCode(qApp->mouseButtons()) | GetKeyModCode(qApp->keyboardModifiers());
+ aState.mnState = GetMouseModCode(QGuiApplication::mouseButtons())
+ | GetKeyModCode(QGuiApplication::keyboardModifiers());
return aState;
}