Kaydet (Commit) 8332e979 authored tarafından Noel Grandin's avatar Noel Grandin

loplugin:staticaccess in qt5 plugin

Change-Id: Ic6a895f9dd9d1474681217d6ddfd31898f916c2c
üst a4ca332a
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment