mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-15 17:20:06 +00:00
Merge pull request #6709 from ameerj/screenshot-path
main: Fix screenshot filepath construction
This commit is contained in:
commit
b5c3cb8763
@ -2838,7 +2838,7 @@ void GMainWindow::OnCaptureScreenshot() {
|
|||||||
QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir));
|
QString::fromStdString(Common::FS::GetYuzuPathString(Common::FS::YuzuPath::ScreenshotsDir));
|
||||||
const auto date =
|
const auto date =
|
||||||
QDateTime::currentDateTime().toString(QStringLiteral("yyyy-MM-dd_hh-mm-ss-zzz"));
|
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(screenshot_path)
|
||||||
.arg(title_id, 16, 16, QLatin1Char{'0'})
|
.arg(title_id, 16, 16, QLatin1Char{'0'})
|
||||||
.arg(date);
|
.arg(date);
|
||||||
|
Loading…
Reference in New Issue
Block a user