mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-13 15:39:05 +01:00
qt: Use new Qt5 connect syntax
This commit is contained in:
@@ -12,7 +12,7 @@ QValidatedLineEdit::QValidatedLineEdit(QWidget *parent) :
|
||||
valid(true),
|
||||
checkValidator(0)
|
||||
{
|
||||
connect(this, SIGNAL(textChanged(QString)), this, SLOT(markValid()));
|
||||
connect(this, &QValidatedLineEdit::textChanged, this, &QValidatedLineEdit::markValid);
|
||||
}
|
||||
|
||||
void QValidatedLineEdit::setValid(bool _valid)
|
||||
|
||||
Reference in New Issue
Block a user