summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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() {
58 58
59 button(NextButton)->setEnabled(false); 59 button(NextButton)->setEnabled(false);
60 button(NextButton)->setText(tr("Submitting")); 60 button(NextButton)->setText(tr("Submitting"));
61 button(QWizard::CancelButton)->setVisible(false); 61 button(CancelButton)->setVisible(false);
62 62
63 testcase_watcher.setFuture(QtConcurrent::run( 63 testcase_watcher.setFuture(QtConcurrent::run(
64 [] { return Core::System::GetInstance().TelemetrySession().SubmitTestcase(); })); 64 [] { return Core::System::GetInstance().TelemetrySession().SubmitTestcase(); }));
@@ -74,12 +74,12 @@ void CompatDB::OnTestcaseSubmitted() {
74 tr("An error occured while sending the Testcase")); 74 tr("An error occured while sending the Testcase"));
75 button(NextButton)->setEnabled(true); 75 button(NextButton)->setEnabled(true);
76 button(NextButton)->setText(tr("Next")); 76 button(NextButton)->setText(tr("Next"));
77 button(QWizard::CancelButton)->setVisible(true); 77 button(CancelButton)->setVisible(true);
78 } else { 78 } else {
79 next(); 79 next();
80 // older versions of QT don't support the "NoCancelButtonOnLastPage" option, this is a 80 // older versions of QT don't support the "NoCancelButtonOnLastPage" option, this is a
81 // workaround 81 // workaround
82 button(QWizard::CancelButton)->setVisible(false); 82 button(CancelButton)->setVisible(false);
83 } 83 }
84} 84}
85 85