aboutsummaryrefslogtreecommitdiff
path: root/src/qt/qvaluecombobox.cpp
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-03-24 05:37:56 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2021-04-30 00:00:44 +0300
commitcdbc2bd1f1c171848c1fef7f217afe140e1afb06 (patch)
tree7d794804a4d1f3cbb0e61a06d7bf13f7ecf13ab7 /src/qt/qvaluecombobox.cpp
parente1e1e708fa0fbc0c51460305da5d401ed8f218f3 (diff)
downloadbitcoin-cdbc2bd1f1c171848c1fef7f217afe140e1afb06.tar.xz
qt: Use template function qOverload in signal-slot connections
This commit does not change behavior.
Diffstat (limited to 'src/qt/qvaluecombobox.cpp')
-rw-r--r--src/qt/qvaluecombobox.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/qvaluecombobox.cpp b/src/qt/qvaluecombobox.cpp
index 76f94ecf85..5672396819 100644
--- a/src/qt/qvaluecombobox.cpp
+++ b/src/qt/qvaluecombobox.cpp
@@ -7,7 +7,7 @@
QValueComboBox::QValueComboBox(QWidget *parent) :
QComboBox(parent), role(Qt::UserRole)
{
- connect(this, static_cast<void (QComboBox::*)(int)>(&QComboBox::currentIndexChanged), this, &QValueComboBox::handleSelectionChanged);
+ connect(this, qOverload<int>(&QComboBox::currentIndexChanged), this, &QValueComboBox::handleSelectionChanged);
}
QVariant QValueComboBox::value() const