mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 03:47:29 -03:00
Merge bitcoin-core/gui#579: Getting ready to Qt 6 (2/n). Remove QApplication::globalStrut()
3eaf5dbfe0
qt: Remove `QApplication::globalStrut()` call (Hennadii Stepanov) Pull request description: This function has been deprecated in Qt 5.15.0, and has been [removed](033d01bd6e
) in Qt 6. ACKs for top commit: jarolrod: ACK3eaf5dbfe0
luke-jr: utACK3eaf5dbfe0
Tree-SHA512: 71ee539b6ffa3755f7e6beaa72a8937886471e298830878def6dd9f48c601611d94d52c638bc1602f938df2ba84ff8b130ea8da8e6c08ae7146173fa613a5003
This commit is contained in:
commit
f3e0ace8ec
1 changed files with 1 additions and 2 deletions
|
@ -144,8 +144,7 @@ public:
|
||||||
|
|
||||||
opt.rect = rect();
|
opt.rect = rect();
|
||||||
|
|
||||||
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this)
|
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this);
|
||||||
.expandedTo(QApplication::globalStrut());
|
|
||||||
}
|
}
|
||||||
return cachedMinimumSizeHint;
|
return cachedMinimumSizeHint;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue