Browse Source
Merge pull request #2456 from lioncash/qualifier
yuzu/compatdb: Remove unnecessary qualifiers
pull/15/merge
bunnei
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
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); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|