mirror of
https://git.citron-emu.org/citron/emulator
synced 2025-12-19 18:53:32 +00:00
feat: New Autoloader & Rebrand Current to "Update Manager"
Signed-off-by: Collecting <collecting@noreply.localhost>
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
|
||||
#include <regex>
|
||||
#include <QApplication>
|
||||
#include <QCheckBox>
|
||||
#include <QDir>
|
||||
#include <QFileInfo>
|
||||
#include <QHeaderView>
|
||||
@@ -818,6 +819,27 @@ void GameList::ValidateEntry(const QModelIndex& item) {
|
||||
}
|
||||
case GameListItemType::AddDir:
|
||||
emit AddDirectory();
|
||||
|
||||
if (UISettings::values.prompt_for_autoloader) {
|
||||
QMessageBox msg_box(this);
|
||||
msg_box.setWindowTitle(tr("Autoloader"));
|
||||
msg_box.setText(
|
||||
tr("Would you like to use the Autoloader to install all Updates/DLC within your game directories?\n\n"
|
||||
"If not now, you can always go to Emulation -> Configure -> Filesystem in order to use this feature. Also, if you have multiple update files for a single game, you can use the Update Manager "
|
||||
"in File -> Install Updates with Update Manager."));
|
||||
msg_box.setStandardButtons(QMessageBox::Yes | QMessageBox::No);
|
||||
QCheckBox* check_box = new QCheckBox(tr("Do not ask me again"));
|
||||
msg_box.setCheckBox(check_box);
|
||||
|
||||
if (msg_box.exec() == QMessageBox::Yes) {
|
||||
emit RunAutoloaderRequested();
|
||||
}
|
||||
|
||||
if (check_box->isChecked()) {
|
||||
UISettings::values.prompt_for_autoloader = false;
|
||||
emit SaveConfig();
|
||||
}
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user