forked from qt-creator/qt-creator
Debugger: Allow selecting "None" as debugger
The possibility went accidentally away with c04f3a94ea
.
Change-Id: I5b2d0ddf89f0aad67a864de172165abe1e13cf4f
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -237,7 +237,7 @@ void DebuggerKitAspect::fix(Kit *k)
|
||||
// This can be Id, binary path, but not "auto" anymore.
|
||||
const QVariant rawId = k->value(DebuggerKitAspect::id());
|
||||
|
||||
if (rawId.isNull()) // No debugger set, that is fine.
|
||||
if (rawId.toString().isEmpty()) // No debugger set, that is fine.
|
||||
return;
|
||||
|
||||
if (rawId.type() == QVariant::String) {
|
||||
|
Reference in New Issue
Block a user