aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/resourceeditor/resourceeditorplugin.cpp
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-06-02 14:25:47 +0200
committerDaniel Teske <daniel.teske@digia.com>2014-06-03 13:53:23 +0200
commitc7f0c4a743056ff553e727844f2ec8abd2711380 (patch)
treef932c4dae79f5db58fa4ee6faea390012ff934b1 /src/plugins/resourceeditor/resourceeditorplugin.cpp
parentb79449beddfc8c005c7bab6febdab2162827e735 (diff)
ResourceNodes: Fix paths in copy url/path actions
Simplify qrc:/// to qrc:/, since that's the documented form. Also work around QDir::cleanPath() not cleaning up leading '//' on windows. Task-number: QTCREATORBUG-12299 Change-Id: Ifa75196b8682d4d9e8d5dc6045820000335b26c2 Reviewed-by: Alessandro Portale <alessandro.portale@digia.com>
Diffstat (limited to 'src/plugins/resourceeditor/resourceeditorplugin.cpp')
-rw-r--r--src/plugins/resourceeditor/resourceeditorplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/resourceeditor/resourceeditorplugin.cpp b/src/plugins/resourceeditor/resourceeditorplugin.cpp
index 72cb090abb..75fce8a13d 100644
--- a/src/plugins/resourceeditor/resourceeditorplugin.cpp
+++ b/src/plugins/resourceeditor/resourceeditorplugin.cpp
@@ -65,7 +65,7 @@
using namespace ResourceEditor::Internal;
static const char resourcePrefix[] = ":";
-static const char urlPrefix[] = "qrc://";
+static const char urlPrefix[] = "qrc:";
class PrefixLangDialog : public QDialog
{