Changed popup buttons from "Ok/Cancel" to "Yes/No"

This commit is contained in:
Fabio Bas 2015-02-04 14:47:09 +01:00
parent 917a29fac0
commit 06290d2326

View file

@ -328,8 +328,8 @@ void LoadSetsPage::zipDownloadFailed(const QString &message)
progressBar->hide(); progressBar->hide();
QMessageBox::StandardButton reply; QMessageBox::StandardButton reply;
reply = QMessageBox::question(this, tr("Error"), message + "<br/>" + tr("Do you want to try to download a fresh copy of the uncompressed file instead?"), QMessageBox::Ok|QMessageBox::Cancel, QMessageBox::Ok); reply = QMessageBox::question(this, tr("Error"), message + "<br/>" + tr("Do you want to try to download a fresh copy of the uncompressed file instead?"), QMessageBox::Yes|QMessageBox::No, QMessageBox::Yes);
if (reply == QMessageBox::Ok) if (reply == QMessageBox::Yes)
{ {
urlRadioButton->setChecked(true); urlRadioButton->setChecked(true);
urlLineEdit->setText(ALLSETS_URL_FALLBACK); urlLineEdit->setText(ALLSETS_URL_FALLBACK);