Skip to content

Commit f3e0ace

Browse files
committed
Merge #579: Getting ready to Qt 6 (2/n). Remove QApplication::globalStrut()
3eaf5db qt: Remove `QApplication::globalStrut()` call (Hennadii Stepanov) Pull request description: This function has been deprecated in Qt 5.15.0, and has been [removed](qt/qtbase@033d01b) in Qt 6. ACKs for top commit: jarolrod: ACK 3eaf5db luke-jr: utACK 3eaf5db Tree-SHA512: 71ee539b6ffa3755f7e6beaa72a8937886471e298830878def6dd9f48c601611d94d52c638bc1602f938df2ba84ff8b130ea8da8e6c08ae7146173fa613a5003
2 parents 72477eb + 3eaf5db commit f3e0ace

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/qt/bitcoinamountfield.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,7 @@ class AmountSpinBox: public QAbstractSpinBox
144144

145145
opt.rect = rect();
146146

147-
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this)
148-
.expandedTo(QApplication::globalStrut());
147+
cachedMinimumSizeHint = style()->sizeFromContents(QStyle::CT_SpinBox, &opt, hint, this);
149148
}
150149
return cachedMinimumSizeHint;
151150
}

0 commit comments

Comments
 (0)