Commit 14ed0bd9 authored by Robert Loehning's avatar Robert Loehning
Browse files

Copying path with native separators to clipboard.

parent 830686f2
......@@ -276,7 +276,7 @@ void EditorToolBar::listContextMenu(QPoint pos)
QMenu menu;
menu.addAction(tr("Copy full path to clipboard"));
if (menu.exec(m_editorList->mapToGlobal(pos))) {
QApplication::clipboard()->setText(fileName);
QApplication::clipboard()->setText(QDir::toNativeSeparators(fileName));
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment