@@ -177,12 +177,12 @@ TransactionView::TransactionView(const PlatformStyle *platformStyle, QWidget *pa
177177 abandonAction = contextMenu->addAction (tr (" Abandon transaction" ), this , &TransactionView::abandonTx);
178178 contextMenu->addAction (tr (" Edit address label" ), this , &TransactionView::editLabel);
179179
180- connect (dateWidget, static_cast < void (QComboBox::*)( int ) >(&QComboBox::activated), this , &TransactionView::chooseDate);
181- connect (typeWidget, static_cast < void (QComboBox::*)( int ) >(&QComboBox::activated), this , &TransactionView::chooseType);
182- connect (watchOnlyWidget, static_cast < void (QComboBox::*)( int ) >(&QComboBox::activated), this , &TransactionView::chooseWatchonly);
183- connect (amountWidget, &QLineEdit::textChanged, amount_typing_delay, static_cast < void (QTimer::*)() >(&QTimer::start));
180+ connect (dateWidget, qOverload< int >(&QComboBox::activated), this , &TransactionView::chooseDate);
181+ connect (typeWidget, qOverload< int >(&QComboBox::activated), this , &TransactionView::chooseType);
182+ connect (watchOnlyWidget, qOverload< int >(&QComboBox::activated), this , &TransactionView::chooseWatchonly);
183+ connect (amountWidget, &QLineEdit::textChanged, amount_typing_delay, qOverload< >(&QTimer::start));
184184 connect (amount_typing_delay, &QTimer::timeout, this , &TransactionView::changedAmount);
185- connect (search_widget, &QLineEdit::textChanged, prefix_typing_delay, static_cast < void (QTimer::*)() >(&QTimer::start));
185+ connect (search_widget, &QLineEdit::textChanged, prefix_typing_delay, qOverload< >(&QTimer::start));
186186 connect (prefix_typing_delay, &QTimer::timeout, this , &TransactionView::changedSearch);
187187
188188 connect (transactionView, &QTableView::doubleClicked, this , &TransactionView::doubleClicked);
0 commit comments