From 9ee8c76603c2f4904bc58cbf94cd71806ee00409 Mon Sep 17 00:00:00 2001 From: OpenSauce04 Date: Sun, 7 Apr 2024 18:40:49 +0100 Subject: [PATCH] Fixed some message window titles displaying "Lime" instead of "Lime3DS" --- .../configuration/configure_system.cpp | 4 ++-- src/lime_qt/main.cpp | 20 +++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/lime_qt/configuration/configure_system.cpp b/src/lime_qt/configuration/configure_system.cpp index 49f0d2cf3..488d943c7 100644 --- a/src/lime_qt/configuration/configure_system.cpp +++ b/src/lime_qt/configuration/configure_system.cpp @@ -611,9 +611,9 @@ void ConfigureSystem::DownloadFromNUS() { future_watcher.waitForFinished(); 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()) { - 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); diff --git a/src/lime_qt/main.cpp b/src/lime_qt/main.cpp index 4ff07048e..58ace195f 100644 --- a/src/lime_qt/main.cpp +++ b/src/lime_qt/main.cpp @@ -1662,7 +1662,7 @@ void GMainWindow::OnGameListDumpRomFS(QString game_path, u64 program_id) { const auto& [base, update] = future_watcher->result(); if (base != Loader::ResultStatus::Success) { QMessageBox::critical( - this, tr("Lime"), + this, tr("Lime3DS"), tr("Could not dump base RomFS.\nRefer to the log for details.")); return; } @@ -1875,9 +1875,9 @@ void GMainWindow::UninstallTitles( future_watcher.waitForFinished(); 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()) { - QMessageBox::information(this, tr("Lime"), + QMessageBox::information(this, tr("Lime3DS"), tr("Successfully uninstalled '%1'.").arg(first_name)); } } @@ -2457,7 +2457,7 @@ void GMainWindow::OnOpenFFmpeg() { for (auto& library_name : library_names) { 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 " "sure the correct directory was selected.") .arg(QString::fromStdString(library_name))); @@ -2481,9 +2481,9 @@ void GMainWindow::OnOpenFFmpeg() { FileUtil::ForeachDirectoryEntry(nullptr, bin_dir, process_file); 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 { - QMessageBox::critical(this, tr("Lime"), + QMessageBox::critical(this, tr("Lime3DS"), tr("Installation of FFmpeg failed. Check the log file for details.")); } } @@ -2513,7 +2513,7 @@ void GMainWindow::StartVideoDumping(const QString& path) { system.RegisterVideoDumper(dumper); } else { QMessageBox::critical( - this, tr("Lime"), + this, tr("Lime3DS"), tr("Could not start video dumping.
Refer to the log for details.")); ui->action_Dump_Video->setChecked(false); } @@ -2814,7 +2814,7 @@ bool GMainWindow::ConfirmClose() { } 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); return answer != QMessageBox::No; } @@ -2907,7 +2907,7 @@ bool GMainWindow::ConfirmChangeGame() { } 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); return answer != QMessageBox::No; } @@ -3170,7 +3170,7 @@ int main(int argc, char* argv[]) { // Init settings params QCoreApplication::setOrganizationName(QStringLiteral("Lime3DS team")); - QCoreApplication::setApplicationName(QStringLiteral("Lime")); + QCoreApplication::setApplicationName(QStringLiteral("Lime3DS")); auto rounding_policy = GetHighDpiRoundingPolicy(); QApplication::setHighDpiScaleFactorRoundingPolicy(rounding_policy);