aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-04-04 00:12:52 -0400
committerLioncash <mathew1800@gmail.com>2019-04-04 00:12:55 -0400
commite5bb07a973708b69d2e3d465ced87136b817d0a1 (patch)
treeb4bf8b6e9fdd77d9f96b41dc71fffbf52bc547c8 /src/yuzu/main.cpp
parent5ba5f82082a1406b81f9a2a40a99bdd3d0cc6314 (diff)
yuzu/main: Use QStringLiteral where applicable within OnTransferableShaderCacheOpenFile()
Allows these strings to have no allocation cost when used at runtime.
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 980aed496c..86795eb67c 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1105,10 +1105,10 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
// OS we just open the transferable shader cache folder without preselecting the transferable
// shader cache file for the selected game.
#if defined(Q_OS_WIN)
- const QString explorer = "explorer";
+ const QString explorer = QStringLiteral("explorer");
QStringList param;
if (!QFileInfo(transferable_shader_cache_file_path).isDir()) {
- param << QLatin1String("/select,");
+ param << QStringLiteral("/select,");
}
param << QDir::toNativeSeparators(transferable_shader_cache_file_path);
QProcess::startDetached(explorer, param);