Fix build with GCC.
This commit is contained in:
parent
2f425edd75
commit
5f3e04a319
1 changed files with 0 additions and 1 deletions
|
|
@ -219,7 +219,6 @@ void TitleControls::raise() {
|
|||
}
|
||||
|
||||
HitTestResult TitleControls::hitTest(QPoint point, int padding) const {
|
||||
const auto parent = _close->parentWidget()->geometry();
|
||||
const auto test = [&](const object_ptr<Button> &button, bool close) {
|
||||
return button && button->geometry().marginsAdded(
|
||||
{ close ? padding : 0, padding, close ? padding : 0, 0 }
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue