aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggerkitinformation.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@qt.io>2018-03-01 18:35:29 +0100
committerOrgad Shaneh <orgads@gmail.com>2018-03-01 20:26:17 +0000
commit0db9df280631b50e366eb8c21697cd849a60dbaf (patch)
tree991278de324f054368f2840a65ad1dc17b670ae9 /src/plugins/debugger/debuggerkitinformation.cpp
parentec571d86fde5d0ee3ea42613ccd8ebfd843c03a0 (diff)
Compile fix: Don't use Utils::FileName's private constructor
error: C2248: 'Utils::FileName::FileName': cannot access private member declared in class 'Utils::FileName' Change-Id: I0d7169170d4c360fce038c43c6572acc6760bddf Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Diffstat (limited to 'src/plugins/debugger/debuggerkitinformation.cpp')
-rw-r--r--src/plugins/debugger/debuggerkitinformation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/debugger/debuggerkitinformation.cpp b/src/plugins/debugger/debuggerkitinformation.cpp
index bc37572a3d..9f723d70c3 100644
--- a/src/plugins/debugger/debuggerkitinformation.cpp
+++ b/src/plugins/debugger/debuggerkitinformation.cpp
@@ -114,7 +114,7 @@ void DebuggerKitInformation::setup(Kit *k)
// This improves the situation a bit if a cross-compilation tool chain has the
// same ABI as the host.
if (level == DebuggerItem::MatchesPerfectly
- && systemEnvironment.path().contains(item.command().parentDir().toString())) {
+ && systemEnvironment.path().contains(item.command().parentDir())) {
level = DebuggerItem::MatchesPerfectlyInPath;
}
} else if (rawId.type() == QVariant::String) {