qt: Migrate to Qt 5 signal/slot connection syntax where applicable

This commit is contained in:
Lioncash
2018-01-18 20:03:13 -05:00
parent cb3ab6ec77
commit 5e46a9bb2b
5 changed files with 31 additions and 31 deletions

View File

@ -39,7 +39,7 @@ CSpinBox::CSpinBox(QWidget* parent)
// TODO: Might be nice to not immediately call the slot.
// Think of an address that is being replaced by a different one, in which case a lot
// invalid intermediate addresses would be read from during editing.
connect(lineEdit(), SIGNAL(textEdited(QString)), this, SLOT(OnEditingFinished()));
connect(lineEdit(), &QLineEdit::textEdited, this, &CSpinBox::OnEditingFinished);
UpdateText();
}