Commit 5b5e12ab authored by Daniel Teske's avatar Daniel Teske
Browse files

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: default avatarhjk <qthjk@ovi.com>
Reviewed-by: default avatarAurindam Jana <aurindam.jana@nokia.com>
parent 617fd257
......@@ -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());
......
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