forked from qt-creator/qt-creator
Remove ToolChain::suggestedDebugger()
And inline it in AndroidConfigurations, which is the only place that made use of suggestedDebugger() Change-Id: I87f135b5d115adb7e46b0f009c5853221e9a3daa Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -709,7 +709,7 @@ void DebuggerItemManagerPrivate::autoDetectGdbOrLldbDebuggers()
|
||||
Environment env = Environment::systemEnvironment();
|
||||
if (tc) {
|
||||
tc->addToEnvironment(env); // Find MinGW gdb in toolchain environment.
|
||||
QString path = tc->suggestedDebugger().toString();
|
||||
QString path = tc->suggestedDebugger().toString(); // Won't compile
|
||||
if (!path.isEmpty()) {
|
||||
const QFileInfo fi(path);
|
||||
if (!fi.isAbsolute())
|
||||
|
||||
Reference in New Issue
Block a user