Fixed some message window titles displaying "Lime" instead of "Lime3DS"

This commit is contained in:
OpenSauce04 2024-04-07 18:40:49 +01:00
parent 0f55d24fb5
commit 9ee8c76603
2 changed files with 12 additions and 12 deletions

View file

@ -611,9 +611,9 @@ void ConfigureSystem::DownloadFromNUS() {
future_watcher.waitForFinished(); future_watcher.waitForFinished();
if (failed) { if (failed) {
QMessageBox::critical(this, tr("Lime"), tr("Downloading system files failed.")); QMessageBox::critical(this, tr("Lime3DS"), tr("Downloading system files failed."));
} else if (!future_watcher.isCanceled()) { } else if (!future_watcher.isCanceled()) {
QMessageBox::information(this, tr("Lime"), tr("Successfully downloaded system files.")); QMessageBox::information(this, tr("Lime3DS"), tr("Successfully downloaded system files."));
} }
ui->button_start_download->setEnabled(true); ui->button_start_download->setEnabled(true);

View file

@ -1662,7 +1662,7 @@ void GMainWindow::OnGameListDumpRomFS(QString game_path, u64 program_id) {
const auto& [base, update] = future_watcher->result(); const auto& [base, update] = future_watcher->result();
if (base != Loader::ResultStatus::Success) { if (base != Loader::ResultStatus::Success) {
QMessageBox::critical( QMessageBox::critical(
this, tr("Lime"), this, tr("Lime3DS"),
tr("Could not dump base RomFS.\nRefer to the log for details.")); tr("Could not dump base RomFS.\nRefer to the log for details."));
return; return;
} }
@ -1875,9 +1875,9 @@ void GMainWindow::UninstallTitles(
future_watcher.waitForFinished(); future_watcher.waitForFinished();
if (failed) { if (failed) {
QMessageBox::critical(this, tr("Lime"), tr("Failed to uninstall '%1'.").arg(failed_name)); QMessageBox::critical(this, tr("Lime3DS"), tr("Failed to uninstall '%1'.").arg(failed_name));
} else if (!future_watcher.isCanceled()) { } else if (!future_watcher.isCanceled()) {
QMessageBox::information(this, tr("Lime"), QMessageBox::information(this, tr("Lime3DS"),
tr("Successfully uninstalled '%1'.").arg(first_name)); tr("Successfully uninstalled '%1'.").arg(first_name));
} }
} }
@ -2457,7 +2457,7 @@ void GMainWindow::OnOpenFFmpeg() {
for (auto& library_name : library_names) { for (auto& library_name : library_names) {
if (!FileUtil::Exists(bin_dir + DIR_SEP + library_name)) { if (!FileUtil::Exists(bin_dir + DIR_SEP + library_name)) {
QMessageBox::critical(this, tr("Lime"), QMessageBox::critical(this, tr("Lime3DS"),
tr("The provided FFmpeg directory is missing %1. Please make " tr("The provided FFmpeg directory is missing %1. Please make "
"sure the correct directory was selected.") "sure the correct directory was selected.")
.arg(QString::fromStdString(library_name))); .arg(QString::fromStdString(library_name)));
@ -2481,9 +2481,9 @@ void GMainWindow::OnOpenFFmpeg() {
FileUtil::ForeachDirectoryEntry(nullptr, bin_dir, process_file); FileUtil::ForeachDirectoryEntry(nullptr, bin_dir, process_file);
if (success.load()) { if (success.load()) {
QMessageBox::information(this, tr("Lime"), tr("FFmpeg has been sucessfully installed.")); QMessageBox::information(this, tr("Lime3DS"), tr("FFmpeg has been sucessfully installed."));
} else { } else {
QMessageBox::critical(this, tr("Lime"), QMessageBox::critical(this, tr("Lime3DS"),
tr("Installation of FFmpeg failed. Check the log file for details.")); tr("Installation of FFmpeg failed. Check the log file for details."));
} }
} }
@ -2513,7 +2513,7 @@ void GMainWindow::StartVideoDumping(const QString& path) {
system.RegisterVideoDumper(dumper); system.RegisterVideoDumper(dumper);
} else { } else {
QMessageBox::critical( QMessageBox::critical(
this, tr("Lime"), this, tr("Lime3DS"),
tr("Could not start video dumping.<br>Refer to the log for details.")); tr("Could not start video dumping.<br>Refer to the log for details."));
ui->action_Dump_Video->setChecked(false); ui->action_Dump_Video->setChecked(false);
} }
@ -2814,7 +2814,7 @@ bool GMainWindow::ConfirmClose() {
} }
QMessageBox::StandardButton answer = QMessageBox::StandardButton answer =
QMessageBox::question(this, tr("Lime"), tr("Would you like to exit now?"), QMessageBox::question(this, tr("Lime3DS"), tr("Would you like to exit now?"),
QMessageBox::Yes | QMessageBox::No, QMessageBox::No); QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
return answer != QMessageBox::No; return answer != QMessageBox::No;
} }
@ -2907,7 +2907,7 @@ bool GMainWindow::ConfirmChangeGame() {
} }
auto answer = QMessageBox::question( auto answer = QMessageBox::question(
this, tr("Lime"), tr("The game is still running. Would you like to stop emulation?"), this, tr("Lime3DS"), tr("The game is still running. Would you like to stop emulation?"),
QMessageBox::Yes | QMessageBox::No, QMessageBox::No); QMessageBox::Yes | QMessageBox::No, QMessageBox::No);
return answer != QMessageBox::No; return answer != QMessageBox::No;
} }
@ -3170,7 +3170,7 @@ int main(int argc, char* argv[]) {
// Init settings params // Init settings params
QCoreApplication::setOrganizationName(QStringLiteral("Lime3DS team")); QCoreApplication::setOrganizationName(QStringLiteral("Lime3DS team"));
QCoreApplication::setApplicationName(QStringLiteral("Lime")); QCoreApplication::setApplicationName(QStringLiteral("Lime3DS"));
auto rounding_policy = GetHighDpiRoundingPolicy(); auto rounding_policy = GetHighDpiRoundingPolicy();
QApplication::setHighDpiScaleFactorRoundingPolicy(rounding_policy); QApplication::setHighDpiScaleFactorRoundingPolicy(rounding_policy);