Fix for wrong set savePath on Windows (#4027)

This commit is contained in:
El Thoro
2025-06-22 19:27:24 +02:00
committed by GitHub
parent 4a0b656b00
commit f132b1d4b6

View File

@@ -241,8 +241,7 @@ bool saveToFilesystemGUI(const QPixmap& capture)
}
#endif
if (!config.savePathFixed()) {
savePath = QDir::toNativeSeparators(
ShowSaveFileDialog(QObject::tr("Save screenshot"), savePath));
savePath = ShowSaveFileDialog(QObject::tr("Save screenshot"), savePath);
}
if (savePath == "") {
return okay;