Skip to content

Commit f132b1d

Browse files
authored
Fix for wrong set savePath on Windows (flameshot-org#4027)
1 parent 4a0b656 commit f132b1d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/screenshotsaver.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ bool saveToFilesystemGUI(const QPixmap& capture)
241241
}
242242
#endif
243243
if (!config.savePathFixed()) {
244-
savePath = QDir::toNativeSeparators(
245-
ShowSaveFileDialog(QObject::tr("Save screenshot"), savePath));
244+
savePath = ShowSaveFileDialog(QObject::tr("Save screenshot"), savePath);
246245
}
247246
if (savePath == "") {
248247
return okay;

0 commit comments

Comments
 (0)