[Libreoffice-commits] core.git: vcl/qt5
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Wed Sep 5 07:01:29 UTC 2018
vcl/qt5/Qt5Frame.cxx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 6da612a82488e242d876feba94716ec35275f816
Author: Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Wed Sep 5 09:01:02 2018 +0200
Commit: Stephan Bergmann <sbergman at redhat.com>
CommitDate: Wed Sep 5 09:01:02 2018 +0200
loplugin:staticaccess
Change-Id: I4336b9cf8600acb42812ed8bbf14bb72828338e1
diff --git a/vcl/qt5/Qt5Frame.cxx b/vcl/qt5/Qt5Frame.cxx
index 018698f3b781..a60f16c82048 100644
--- a/vcl/qt5/Qt5Frame.cxx
+++ b/vcl/qt5/Qt5Frame.cxx
@@ -596,7 +596,7 @@ void Qt5Frame::CaptureMouse(bool bMouse)
void Qt5Frame::SetPointerPos(long nX, long nY)
{
QCursor aCursor = m_pQWidget->cursor();
- aCursor.setPos(m_pQWidget->mapToGlobal(QPoint(nX, nY)));
+ QCursor::setPos(m_pQWidget->mapToGlobal(QPoint(nX, nY)));
m_pQWidget->setCursor(aCursor);
}
More information about the Libreoffice-commits
mailing list