Fix non-windows developer build
Build was complaining about unused function
This commit is contained in:
@@ -786,7 +786,6 @@ static QWidgetOrQuick *qtTopLevelForHWND(HWND hwnd)
|
||||
qCDebug(toplevels) << Q_FUNC_INFO << "Couldn't find hwnd for top-level" << hwnd;
|
||||
return nullptr;
|
||||
}
|
||||
#endif
|
||||
|
||||
static QRect topLevelGeometry(const QWidgetOrQuick* topLevel)
|
||||
{
|
||||
@@ -796,6 +795,8 @@ static QRect topLevelGeometry(const QWidgetOrQuick* topLevel)
|
||||
return topLevel->geometry();
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
template <typename T>
|
||||
static WidgetType* qtTopLevelUnderCursor_impl(QPoint globalPos, const QVector<QWindow*> &windows, T windowBeingDragged)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user