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:
hjk
2022-08-03 16:47:33 +02:00
parent 5aa8c55f14
commit 210c60a401

View File

@@ -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) {