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:
Hennadii Stepanov
2022-04-08 23:56:40 +02:00
parent e0680bbce8
commit 3eaf5dbfe0

View File

@@ -141,8 +141,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;
} }