I fixed the button, PKG patch version is older
I fixed the button, PKG patch version is older
This commit is contained in:
parent
de3864dba7
commit
de6f703d7d
|
@ -483,12 +483,12 @@ void MainWindow::InstallDragDropPkg(std::filesystem::path file, int pkgNum, int
|
||||||
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||||
msgBox.setDefaultButton(QMessageBox::No);
|
msgBox.setDefaultButton(QMessageBox::No);
|
||||||
} else if (pkgD < appD) {
|
} else if (pkgD < appD) {
|
||||||
QMessageBox::information(this, "PKG Extraction",
|
msgBox.setText(QString("Patch detected!\nPKG Version %1 is older "
|
||||||
QString("Patch detected!\nPKG Version %1 is older "
|
"than installed version!: %2\nWould you like "
|
||||||
"than installed version!: %2\nWould you like "
|
"to overwrite?")
|
||||||
"to overwrite?")
|
.arg(pkg_app_version, game_app_version));
|
||||||
.arg(pkg_app_version, game_app_version));
|
msgBox.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||||
return;
|
msgBox.setDefaultButton(QMessageBox::No);
|
||||||
} else {
|
} else {
|
||||||
msgBox.setText(QString("Patch detected!\nGame is installed: %1\nWould you like "
|
msgBox.setText(QString("Patch detected!\nGame is installed: %1\nWould you like "
|
||||||
"to install Patch: %2?")
|
"to install Patch: %2?")
|
||||||
|
@ -709,4 +709,4 @@ void MainWindow::CreateRecentGameActions() {
|
||||||
Core::Emulator emulator;
|
Core::Emulator emulator;
|
||||||
emulator.Run(gamePath.toUtf8().constData());
|
emulator.Run(gamePath.toUtf8().constData());
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue