diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-03-29 17:58:34 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-03-29 17:58:34 +0200 |
commit | 63244127a88010abe98858be8d42c93f1755b537 (patch) | |
tree | a1f3326ccf2e74853a1b8cf20b4b1a5239be01ee /src/plugins/qmljseditor | |
parent | 2a74097b54e27ff21f8c6d2723e76761c31e34d0 (diff) | |
parent | c9bd695a90350b8741b6491698308949af22b08a (diff) | |
download | qt-creator-63244127a88010abe98858be8d42c93f1755b537.tar.gz |
Merge remote-tracking branch 'origin/2.5'
Conflicts:
src/libs/symbianutils/symbianutils.qbs
src/libs/utils/utils.qbs
src/libs/zeroconf/zeroconf.qbs
Change-Id: I4c888d8e58ec68dc4638b041b0c6ee743b809ab4
Diffstat (limited to 'src/plugins/qmljseditor')
-rw-r--r-- | src/plugins/qmljseditor/qmljsfindreferences.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/plugins/qmljseditor/qmljsfindreferences.cpp b/src/plugins/qmljseditor/qmljsfindreferences.cpp index d7abe55dc8..83ef3e4b91 100644 --- a/src/plugins/qmljseditor/qmljsfindreferences.cpp +++ b/src/plugins/qmljseditor/qmljsfindreferences.cpp @@ -971,11 +971,12 @@ void FindReferences::cancel() void FindReferences::openEditor(const Find::SearchResultItem &item) { if (item.path.size() > 0) { - TextEditor::BaseTextEditorWidget::openEditorAt(item.path.first(), item.lineNumber, item.textMarkPos, - Core::Id(), - Core::EditorManager::ModeSwitch); + TextEditor::BaseTextEditorWidget::openEditorAt(QDir::fromNativeSeparators(item.path.first()), + item.lineNumber, item.textMarkPos, Core::Id(), + Core::EditorManager::ModeSwitch); } else { - Core::EditorManager::instance()->openEditor(item.text, Core::Id(), Core::EditorManager::ModeSwitch); + Core::EditorManager::instance()->openEditor(QDir::fromNativeSeparators(item.text), + Core::Id(), Core::EditorManager::ModeSwitch); } } |