From ae32ed32d0c6568be71ce06709ca57d6bb077285 Mon Sep 17 00:00:00 2001 From: Andy Shaw <qt-info@nokia.com> Date: Mon, 20 Jul 2009 14:57:48 +0200 Subject: [PATCH] Fixes: When copying a path to the clipboard, use the native separators RevBy: dt --- src/plugins/coreplugin/editormanager/editorview.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/coreplugin/editormanager/editorview.cpp b/src/plugins/coreplugin/editormanager/editorview.cpp index b19c7eacdca..9e31dc2ec0c 100644 --- a/src/plugins/coreplugin/editormanager/editorview.cpp +++ b/src/plugins/coreplugin/editormanager/editorview.cpp @@ -410,7 +410,7 @@ void EditorView::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)); } } -- GitLab