forked from qt-creator/qt-creator
Debugger: Fix deprecation warning
Amends 2d9d6aa315
Change-Id: I6e2d9b55e92416ba2ff55ccdda65ce4a96901375
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -330,7 +330,7 @@ void DebuggerRunParameters::setStartMode(DebuggerStartMode startMode)
|
|||||||
void DebuggerRunParameters::addSolibSearchDir(const QString &str)
|
void DebuggerRunParameters::addSolibSearchDir(const QString &str)
|
||||||
{
|
{
|
||||||
QString path = str;
|
QString path = str;
|
||||||
path.replace("%{sysroot}", sysRoot.toString());
|
path.replace("%{sysroot}", sysRoot.toUrlishString());
|
||||||
m_solibSearchPath.append(FilePath::fromString(path));
|
m_solibSearchPath.append(FilePath::fromString(path));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user