summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-05-09 19:21:04 +0200
committerGitHub <noreply@github.com>2019-05-09 19:21:04 +0200
commitc6f3831320173228d6299e79a4da766cb8b94fd8 (patch)
tree3cd50038eafc6ff0c82e800061242afcce6c084a
parentMerge pull request #2459 from lioncash/what (diff)
parentyuzu/compatdb: Remove unnecessary qualifiers (diff)
downloadyuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar.gz
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar.bz2
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar.lz
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar.xz
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.tar.zst
yuzu-c6f3831320173228d6299e79a4da766cb8b94fd8.zip
-rw-r--r--src/yuzu/compatdb.cpp6
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);
}
}