summaryrefslogtreecommitdiff
path: root/src/plugins/debugger
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@nokia.com>2011-12-02 12:39:54 +0100
committerDaniel Teske <daniel.teske@nokia.com>2011-12-06 12:55:14 +0100
commit5b5e12ab69576653e2e678075a23afe4a49dc648 (patch)
treedba8f81d8a280cad9d0ef82f0437cd2f05756903 /src/plugins/debugger
parent617fd257421623bc8cfdf97251c84b6083f8a6c7 (diff)
downloadqt-creator-5b5e12ab69576653e2e678075a23afe4a49dc648.tar.gz
Debugger: remove updateUiOnFileListChanged
Apparently there's no reason for the connect. Also the disconnect when the project changed was missing. Change-Id: Ib04c8f93b532be6e4cd947df00640746721186af Reviewed-by: hjk <qthjk@ovi.com> Reviewed-by: Aurindam Jana <aurindam.jana@nokia.com>
Diffstat (limited to 'src/plugins/debugger')
-rw-r--r--src/plugins/debugger/debuggermainwindow.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/plugins/debugger/debuggermainwindow.cpp b/src/plugins/debugger/debuggermainwindow.cpp
index 296754e33d..d43f8c7967 100644
--- a/src/plugins/debugger/debuggermainwindow.cpp
+++ b/src/plugins/debugger/debuggermainwindow.cpp
@@ -110,7 +110,6 @@ public slots:
void updateUiForRunConfiguration(ProjectExplorer::RunConfiguration *rc);
void updateUiForCurrentRunConfiguration();
void updateActiveLanguages();
- void updateUiOnFileListChange();
void updateDockWidgetSettings();
void openMemoryEditor() { debuggerCore()->openMemoryEditor(); }
@@ -163,12 +162,6 @@ DebuggerMainWindowPrivate::DebuggerMainWindowPrivate(DebuggerMainWindow *mw)
addLanguage(QmlLanguage, Context(C_QMLDEBUGGER));
}
-void DebuggerMainWindowPrivate::updateUiOnFileListChange()
-{
- if (m_previousProject)
- updateUiForTarget(m_previousProject->activeTarget());
-}
-
void DebuggerMainWindowPrivate::updateUiForProject(Project *project)
{
if (m_previousProject) {
@@ -181,8 +174,6 @@ void DebuggerMainWindowPrivate::updateUiForProject(Project *project)
updateUiForTarget(0);
return;
}
- connect(project, SIGNAL(fileListChanged()),
- SLOT(updateUiOnFileListChange()));
connect(project, SIGNAL(activeTargetChanged(ProjectExplorer::Target*)),
SLOT(updateUiForTarget(ProjectExplorer::Target*)));
updateUiForTarget(project->activeTarget());