mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-06-23 15:22:46 +02:00
qt: Remove QApplication::globalStrut()
call
This function has been deprecated in Qt 5.15.0, and has been removed in Qt 6 (see 033d01bd6e2aef740ad1408a04d3ca0ae3b9ba9b upstream commit).
This commit is contained in:
parent
e0680bbce8
commit
3eaf5dbfe0
@ -141,8 +141,7 @@ public:
|
||||
|
||||
opt.rect = rect();
|
||||
|
||||
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this)
|
||||
.expandedTo(QApplication::globalStrut());
|
||||
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this);
|
||||
}
|
||||
return cachedMinimumSizeHint;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user