Commit 173ed5b6 authored by David Schulz's avatar David Schulz
Browse files

qtcdebugger: don't abort unregister if Debugger.Default is not defined

Task-number: QTCREATORBUG-19252
Change-Id: Idc986a52276c40f20a983495ab4423c8753a9dda
Reviewed-by: default avatarRobert Loehning <>
Reviewed-by: David Schulz's avatarDavid Schulz <>
parent e05f2889
......@@ -460,8 +460,7 @@ static bool unregisterDebuggerKey(const WCHAR *key,
QString oldDebugger;
if (!registryReadStringKey(handle, debuggerRegistryDefaultValueNameC, &oldDebugger, errorMessage))
registryReadStringKey(handle, debuggerRegistryDefaultValueNameC, &oldDebugger, errorMessage);
// Re-register old debugger or delete key if it was empty.
if (oldDebugger.isEmpty()) {
if (!registryDeleteValue(handle, debuggerRegistryValueNameC, errorMessage))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment