summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-07-25 20:41:38 +0200
committerGitHub <noreply@github.com>2021-07-25 20:41:38 +0200
commitb5c3cb876357aebc0f29d585cc5671baca88e1b4 (patch)
treea74ab21f4e34818e61e8813ae64b29f88b491b68
parentMerge pull request #6585 from ameerj/hades (diff)
parentmain: Fix screenshot filepath construction (diff)
downloadyuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.gz
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.bz2
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.lz
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.xz
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.zst
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.zip
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index a5159a1ee..e97bfd976 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -2838,7 +2838,7 @@ void GMainWindow::OnCaptureScreenshot() {
QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir));
const auto date =
QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd_hh-mm-ss-zzz"));
- QString filename = QStringLiteral("%1%2_%3.png")
+ QString filename = QStringLiteral("%1/%2_%3.png")
.arg(screenshot_path)
.arg(title_id, 16, 16, QLatin1Char{'0'})
.arg(date);