summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
diff options
context:
space:
mode:
authorfearlessTobi <thm.frey@gmail.com>2019-05-05 01:52:17 +0200
committerFearlessTobi <thm.frey@gmail.com>2019-09-04 16:47:32 +0200
commitdfec9c9a437b7478abd8b280f6ce513da595ba73 (patch)
tree37c126892697f63d7c2a74f6df411bc7f0662396 /src/yuzu/main.cpp
parent7a8f4840205799d837ac32401b4143c716a8bc3d (diff)
Address more trivial review comments
Diffstat (limited to 'src/yuzu/main.cpp')
-rw-r--r--src/yuzu/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index 3146e054c..72c3eb069 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -1314,10 +1314,10 @@ void GMainWindow::OnGameListOpenDirectory(const QString& directory) {
if (directory == QStringLiteral("INSTALLED")) {
// TODO: Find a better solution when installing files to the SD card gets implemented
path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
- std::string("user/Contents/registered"));
+ "user/Contents/registered");
} else if (directory == QStringLiteral("SYSTEM")) {
- path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir).c_str() +
- std::string("system/Contents/registered"));
+ path = QString::fromStdString(FileUtil::GetUserPath(FileUtil::UserPath::NANDDir) +
+ "system/Contents/registered");
} else {
path = directory;
}