From 2b49d60ac561f9c89ca897db4e207d36e002ca23 Mon Sep 17 00:00:00 2001 From: wmayer Date: Thu, 1 Oct 2020 08:10:28 +0200 Subject: [PATCH] Sketcher: [skip ci] fix build failure --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index e58181641b..fb752ad631 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -852,7 +852,7 @@ public: #if QT_VERSION >= 0x050000 cursorPixmap.setDevicePixelRatio(pixelRatio); // only X11 needs hot point coordinates to be scaled - if (qGuiApp->platformName == "xcb")) { + if (qGuiApp->platformName() == QLatin1String("xcb")) { hotX *= pixelRatio; hotY *= pixelRatio; }