Sketcher: [skip ci] fix build failure

This commit is contained in:
wmayer
2020-10-01 08:10:28 +02:00
parent bb2a4050e7
commit 2b49d60ac5

View File

@@ -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;
}