diff options
author | Lioncash <mathew1800@gmail.com> | 2018-01-18 20:03:13 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-01-18 20:09:40 -0500 |
commit | 5e46a9bb2b1f2d0f421e1d6f12b49cb34794d8df (patch) | |
tree | a2101a82095970dd41690a65d8a5c474d73ba81b /src/yuzu/util/spinbox.cpp | |
parent | cb3ab6ec77e20dc108147db662bf244448608275 (diff) |
qt: Migrate to Qt 5 signal/slot connection syntax where applicable
Diffstat (limited to 'src/yuzu/util/spinbox.cpp')
-rw-r--r-- | src/yuzu/util/spinbox.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/util/spinbox.cpp b/src/yuzu/util/spinbox.cpp index 92753ec1c..14ef1e884 100644 --- a/src/yuzu/util/spinbox.cpp +++ b/src/yuzu/util/spinbox.cpp @@ -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(); } |