diff --git a/src/utils/screenshotsaver.cpp b/src/utils/screenshotsaver.cpp index 2c7669b1..b67dad95 100644 --- a/src/utils/screenshotsaver.cpp +++ b/src/utils/screenshotsaver.cpp @@ -268,6 +268,9 @@ bool saveToFilesystemGUI(const QPixmap& capture) AbstractLogger().attachNotificationPath(savePath) << msg; if (config.copyPathAfterSave()) { +#ifdef Q_OS_WIN + savePath.replace('/', '\\'); +#endif FlameshotDaemon::copyToClipboard( savePath, QObject::tr("Path copied to clipboard as ") + savePath); }