aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-08 23:56:40 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-04-09 01:54:38 +0200
commit3eaf5dbfe0a0c814116e92f602f3c062259b6ea3 (patch)
tree977749bf2285b0a439c5969cac947a147653580d /src/qt
parente0680bbce8b89ad5de9d1b9f818b76df68d72696 (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.cpp3
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;
}