Skip to content

Commit

Permalink
fix linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Feb 23, 2022
1 parent 9f2e67e commit aa12c1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ui/windowstitlebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ void WindowsTitleBar::setParentWidget(QWidget *newParentWidget)
parentWidget_ = newParentWidget;
}

#ifdef Q_OS_WIN
bool WindowsTitleBar::hitTest(QPoint pos, long *result)
{
QWidget* child = childAt(pos);
Expand All @@ -111,3 +112,4 @@ bool WindowsTitleBar::hitTest(QPoint pos, long *result)
}
return false;
}
#endif //Q_OS_WIN

0 comments on commit aa12c1f

Please sign in to comment.