Skip to content

Commit 23fade7

Browse files
authored
Fix 3135 again (flameshot-org#4122)
1 parent 48f8d1f commit 23fade7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/utils/screenshotsaver.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,9 @@ bool saveToFilesystemGUI(const QPixmap& capture)
268268
AbstractLogger().attachNotificationPath(savePath) << msg;
269269

270270
if (config.copyPathAfterSave()) {
271+
#ifdef Q_OS_WIN
272+
savePath.replace('/', '\\');
273+
#endif
271274
FlameshotDaemon::copyToClipboard(
272275
savePath, QObject::tr("Path copied to clipboard as ") + savePath);
273276
}

0 commit comments

Comments
 (0)