diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-03-24 05:37:56 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2021-04-30 00:00:44 +0300 |
commit | cdbc2bd1f1c171848c1fef7f217afe140e1afb06 (patch) | |
tree | 7d794804a4d1f3cbb0e61a06d7bf13f7ecf13ab7 /src/qt/intro.cpp | |
parent | e1e1e708fa0fbc0c51460305da5d401ed8f218f3 (diff) |
qt: Use template function qOverload in signal-slot connections
This commit does not change behavior.
Diffstat (limited to 'src/qt/intro.cpp')
-rw-r--r-- | src/qt/intro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/intro.cpp b/src/qt/intro.cpp index ed39307fd7..0ef5eecd57 100644 --- a/src/qt/intro.cpp +++ b/src/qt/intro.cpp @@ -155,7 +155,7 @@ Intro::Intro(QWidget *parent, int64_t blockchain_size_gb, int64_t chain_state_si UpdatePruneLabels(prune_checked); UpdateFreeSpaceLabel(); }); - connect(ui->pruneGB, QOverload<int>::of(&QSpinBox::valueChanged), [this](int prune_GB) { + connect(ui->pruneGB, qOverload<int>(&QSpinBox::valueChanged), [this](int prune_GB) { m_prune_target_gb = prune_GB; UpdatePruneLabels(ui->prune->isChecked()); UpdateFreeSpaceLabel(); |