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 Jun 29, 2023
1 parent bbcd643 commit 09a6e85
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/screenshotsaver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,8 @@ bool saveToFilesystemGUI(const QPixmap& capture)

if (config.copyPathAfterSave()) {
FlameshotDaemon::copyToClipboard(
QDir::toNativeSeparators(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 09a6e85

Please sign in to comment.