Fix 3135 again (#4122)

This commit is contained in:
El Thoro
2025-08-07 03:32:24 +02:00
committed by GitHub
parent 48f8d1fdd8
commit 23fade7bb9

View File

@@ -268,6 +268,9 @@ bool saveToFilesystemGUI(const QPixmap& capture)
AbstractLogger().attachNotificationPath(savePath) << msg; AbstractLogger().attachNotificationPath(savePath) << msg;
if (config.copyPathAfterSave()) { if (config.copyPathAfterSave()) {
#ifdef Q_OS_WIN
savePath.replace('/', '\\');
#endif
FlameshotDaemon::copyToClipboard( FlameshotDaemon::copyToClipboard(
savePath, QObject::tr("Path copied to clipboard as ") + savePath); savePath, QObject::tr("Path copied to clipboard as ") + savePath);
} }