Skip to content

Commit

Permalink
Copy path to clipboard using native separators
Browse files Browse the repository at this point in the history
Signed-off-by: Petru Gurduza <[email protected]>
  • Loading branch information
petrugrd committed Mar 19, 2023
1 parent 3ededae commit bbcd643
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/screenshotsaver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ bool saveToFilesystemGUI(const QPixmap& capture)

if (config.copyPathAfterSave()) {
FlameshotDaemon::copyToClipboard(
savePath, QObject::tr("Path copied to clipboard as ") + savePath);
QDir::toNativeSeparators(savePath), QObject::tr("Path copied to clipboard as ") + savePath);
}

} else {
Expand Down

0 comments on commit bbcd643

Please sign in to comment.