Skip to content
Snippets Groups Projects
Commit ae32ed32 authored by Andy Shaw's avatar Andy Shaw
Browse files

Fixes: When copying a path to the clipboard, use the native separators

RevBy:    dt
parent 6446b879
No related branches found
No related tags found
No related merge requests found
...@@ -410,7 +410,7 @@ void EditorView::listContextMenu(QPoint pos) ...@@ -410,7 +410,7 @@ void EditorView::listContextMenu(QPoint pos)
QMenu menu; QMenu menu;
menu.addAction(tr("Copy full path to clipboard")); menu.addAction(tr("Copy full path to clipboard"));
if (menu.exec(m_editorList->mapToGlobal(pos))) { if (menu.exec(m_editorList->mapToGlobal(pos))) {
QApplication::clipboard()->setText(fileName); QApplication::clipboard()->setText(QDir::toNativeSeparators(fileName));
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment