diff options
author | Lioncash <mathew1800@gmail.com> | 2019-05-09 01:08:03 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-05-09 01:08:06 -0400 |
commit | a97120efc1bec17861066ed0d19a7d19d9d747c0 (patch) | |
tree | 184c8fefd02a275e0b90a432ed90b97ea46beb60 /src/yuzu/compatdb.cpp | |
parent | 75a8b304d464525a260f0bd8ad2a7f8708c80ed2 (diff) |
yuzu/compatdb: Remove unnecessary qualifiers
Keeps the code consistent in regards to how the buttons are referred to.
Diffstat (limited to 'src/yuzu/compatdb.cpp')
-rw-r--r-- | src/yuzu/compatdb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/compatdb.cpp b/src/yuzu/compatdb.cpp index c8b0a5ec0..5477f050c 100644 --- a/src/yuzu/compatdb.cpp +++ b/src/yuzu/compatdb.cpp @@ -58,7 +58,7 @@ void CompatDB::Submit() { button(NextButton)->setEnabled(false); button(NextButton)->setText(tr("Submitting")); - button(QWizard::CancelButton)->setVisible(false); + button(CancelButton)->setVisible(false); testcase_watcher.setFuture(QtConcurrent::run( [] { return Core::System::GetInstance().TelemetrySession().SubmitTestcase(); })); @@ -74,12 +74,12 @@ void CompatDB::OnTestcaseSubmitted() { tr("An error occured while sending the Testcase")); button(NextButton)->setEnabled(true); button(NextButton)->setText(tr("Next")); - button(QWizard::CancelButton)->setVisible(true); + button(CancelButton)->setVisible(true); } else { next(); // older versions of QT don't support the "NoCancelButtonOnLastPage" option, this is a // workaround - button(QWizard::CancelButton)->setVisible(false); + button(CancelButton)->setVisible(false); } } |