summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Morph2021-07-25 14:41:38 -0400
committerGravatar GitHub2021-07-25 14:41:38 -0400
commitb5c3cb876357aebc0f29d585cc5671baca88e1b4 (patch)
treea74ab21f4e34818e61e8813ae64b29f88b491b68
parentMerge pull request #6585 from ameerj/hades (diff)
parentmain: Fix screenshot filepath construction (diff)
downloadyuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.gz
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.tar.xz
yuzu-b5c3cb876357aebc0f29d585cc5671baca88e1b4.zip
Merge pull request #6709 from ameerj/screenshot-path
main: Fix screenshot filepath construction
Diffstat (limited to '')
-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() {
2838 QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir)); 2838 QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir));
2839 const auto date = 2839 const auto date =
2840 QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd_hh-mm-ss-zzz")); 2840 QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd_hh-mm-ss-zzz"));
2841 QString filename = QStringLiteral("%1%2_%3.png") 2841 QString filename = QStringLiteral("%1/%2_%3.png")
2842 .arg(screenshot_path) 2842 .arg(screenshot_path)
2843 .arg(title_id, 16, 16, QLatin1Char{'0'}) 2843 .arg(title_id, 16, 16, QLatin1Char{'0'})
2844 .arg(date); 2844 .arg(date);