From 210c60a40144bb50b82fd0e5ab81ab44888be9aa Mon Sep 17 00:00:00 2001 From: hjk Date: Wed, 3 Aug 2022 16:47:33 +0200 Subject: [PATCH] Debugger: Allow selecting "None" as debugger The possibility went accidentally away with c04f3a94ea1. Change-Id: I5b2d0ddf89f0aad67a864de172165abe1e13cf4f Reviewed-by: Christian Kandeler Reviewed-by: Reviewed-by: Orgad Shaneh --- src/plugins/debugger/debuggerkitinformation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/debugger/debuggerkitinformation.cpp b/src/plugins/debugger/debuggerkitinformation.cpp index 1c005c721af..16bc885e52a 100644 --- a/src/plugins/debugger/debuggerkitinformation.cpp +++ b/src/plugins/debugger/debuggerkitinformation.cpp @@ -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) {