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:
1 file changed
+1
-2
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user