aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/debugger/debuggermainwindow.cpp
diff options
context:
space:
mode:
authorLasse Holmstedt <[email protected]>2010-08-18 13:54:12 +0200
committerLasse Holmstedt <[email protected]>2010-08-24 17:46:22 +0200
commitb557c58eacfaf6634be6187ee58fd42f48c30d90 (patch)
treea5ebb0c4b8a64cbc1d9ac85296eddd1159b23eb2 /src/plugins/debugger/debuggermainwindow.cpp
parentef11c4e7acdc735107ec0f6b2f142e7fe115332d (diff)
Qml Debugger: Enable debugging qml+cpp standalone applications
A new debugger engine, QmlCppEngine, is introduced, which wraps gdb and qml engines into one. Alternatively, if using Windows, Cdb is used instead of Gdb. Most of the debugger ui switcher is now rewritten, and it is tailored for the QML and CPP layout case, the only one supported anyway. Reviewed-by: hjk
Diffstat (limited to 'src/plugins/debugger/debuggermainwindow.cpp')
-rw-r--r--src/plugins/debugger/debuggermainwindow.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp
index ba4709813d1..913e7218bff 100644
--- a/src/plugins/debugger/debuggermainwindow.cpp
+++ b/src/plugins/debugger/debuggermainwindow.cpp
@@ -71,9 +71,7 @@ QMenu* DebuggerMainWindow::createPopupMenu()
for (int i = 0; i < dockwidgets.size(); ++i) {
QDockWidget *dockWidget = dockwidgets.at(i)->m_dockWidget;
- if (dockWidget->parentWidget() == this &&
- dockwidgets.at(i)->m_languageId == m_uiSwitcher->activeLanguageId()) {
-
+ if (dockWidget->parentWidget() == this) {
menu->addAction(dockWidget->toggleViewAction());
}
}