diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-08 23:56:40 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-04-09 01:54:38 +0200 |
commit | 3eaf5dbfe0a0c814116e92f602f3c062259b6ea3 (patch) | |
tree | 977749bf2285b0a439c5969cac947a147653580d /src/qt | |
parent | e0680bbce8b89ad5de9d1b9f818b76df68d72696 (diff) |
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).
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/bitcoinamountfield.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qt/bitcoinamountfield.cpp b/src/qt/bitcoinamountfield.cpp index a257e250e0..6cb2174685 100644 --- a/src/qt/bitcoinamountfield.cpp +++ b/src/qt/bitcoinamountfield.cpp @@ -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; } |