forked from qt-creator/qt-creator
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>
This commit is contained in:
committed by
Orgad Shaneh
parent
ec571d86fd
commit
0db9df2806
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user