diff options
author | Lioncash <mathew1800@gmail.com> | 2019-04-04 06:06:32 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-04-04 06:12:04 +0200 |
commit | 5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314 (patch) | |
tree | a59526b1fb6369265fac1285a4979c70ceee278f | |
parent | yuzu/main: Remove unnecessary string concatenation in OnTransferableShaderCacheOpenFile() (diff) | |
download | yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar.gz yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar.bz2 yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar.lz yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar.xz yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.tar.zst yuzu-5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314.zip |
-rw-r--r-- | src/yuzu/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index cff5d9df8..980aed496 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1087,7 +1087,6 @@ void GMainWindow::OnGameListOpenFolder(u64 program_id, GameListOpenTarget target void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { ASSERT(program_id != 0); - const QString open_target = QStringLiteral("Transferable Shader Cache"); const QString tranferable_shader_cache_folder_path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir)) + "opengl" + DIR_SEP + "transferable"; @@ -1097,8 +1096,8 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { QString::fromStdString(fmt::format("{:016X}.bin", program_id)); if (!QFile::exists(transferable_shader_cache_file_path)) { - QMessageBox::warning(this, tr("Error Opening %1 File").arg(open_target), - tr("File does not exist!")); + QMessageBox::warning(this, tr("Error Opening Transferable Shader Cache"), + tr("A shader cache for this title does not exist.")); return; } |