From 8332e9791c786c89737389bee296260b05b71040 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 8 Jan 2018 09:40:00 +0200 Subject: loplugin:staticaccess in qt5 plugin Change-Id: Ic6a895f9dd9d1474681217d6ddfd31898f916c2c --- vcl/qt5/Qt5Frame.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'vcl/qt5') 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; } -- cgit v1.2.3