From f49098683ad746d439ed95be37384addb1894729 Mon Sep 17 00:00:00 2001
From: Kai Koehne <kai.koehne@nokia.com>
Date: Wed, 29 Feb 2012 12:51:27 +0100
Subject: [PATCH] Debugger Settings: Make sure that Cpp, Qml checkboxes are
 initialized

Change-Id: I3fbced75504afd797346aa892a9f71e37c71f118
Reviewed-by: hjk <qthjk@ovi.com>
---
 src/plugins/debugger/debuggerrunner.cpp | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/plugins/debugger/debuggerrunner.cpp b/src/plugins/debugger/debuggerrunner.cpp
index daf1e0950e4..32f6d3ceb0e 100644
--- a/src/plugins/debugger/debuggerrunner.cpp
+++ b/src/plugins/debugger/debuggerrunner.cpp
@@ -199,8 +199,9 @@ DebuggerRunConfigWidget::DebuggerRunConfigWidget(RunConfiguration *runConfigurat
         "qthelp://com.nokia.qtcreator/doc/creator-debugging-qml.html"
         "\">What are the prerequisites?</a>"));
 
-    useCppDebuggerToggled(m_aspect->useCppDebugger());
-    useQmlDebuggerToggled(m_aspect->useQmlDebugger());
+    m_useCppDebugger->setChecked(m_aspect->useCppDebugger());
+    m_useQmlDebugger->setChecked(m_aspect->useQmlDebugger());
+
     m_debugServerPort->setValue(m_aspect->qmlDebugServerPort());
 
     connect(m_qmlDebuggerInfoLabel, SIGNAL(linkActivated(QString)),
-- 
GitLab