Remove unused trivial variable from linux build

This commit is contained in:
Sergio Martins
2020-06-23 17:10:06 +01:00
parent 7a1a2f2c43
commit b76ec9e611

View File

@@ -463,8 +463,8 @@ QWidgetOrQuick *DragController::qtTopLevelUnderCursor() const
QPoint globalPos = QCursor::pos();
if (qApp->platformName() == QLatin1String("windows")) { // So -platform offscreen on Windows doesn't use this
auto topLevels = qApp->topLevelWidgets();
# if defined(Q_OS_WIN)
auto topLevels = qApp->topLevelWidgets();
POINT globalNativePos;
if (!GetCursorPos(&globalNativePos))
return nullptr;