aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cpptools/cppmodelmanager_test.cpp
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2014-12-03 14:40:08 +0100
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2014-12-15 14:33:52 +0100
commit65bb5856d0f771c069f0687bc9382ae963fe126c (patch)
tree56928d517e05141c56866e9908c126c1e771916f /src/plugins/cpptools/cppmodelmanager_test.cpp
parent7692addd71a625bcd137169e449626bcf1dd4408 (diff)
CppTools: Do not append '/' to fallback header paths
...since this will confuse the completer. Task-number: QTCREATORBUG-13567 Change-Id: I4172d433f23f3907690d4c00f92fadb68fa354e8 Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com> Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/cpptools/cppmodelmanager_test.cpp')
-rw-r--r--src/plugins/cpptools/cppmodelmanager_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/cpptools/cppmodelmanager_test.cpp b/src/plugins/cpptools/cppmodelmanager_test.cpp
index 0e7b35f3643..3d380359529 100644
--- a/src/plugins/cpptools/cppmodelmanager_test.cpp
+++ b/src/plugins/cpptools/cppmodelmanager_test.cpp
@@ -75,7 +75,7 @@ public:
{ return directory(_("frameworks"), cleaned); }
QString fileFromSourcesDir(const QString &fileName) const
- { return directory(_("sources")) + fileName; }
+ { return directory(_("sources")) + QLatin1Char('/') + fileName; }
};
// TODO: When possible, use this helper class in all tests