From cf3d47ccd8c8fbf7990cc9c3ac501a0777410403 Mon Sep 17 00:00:00 2001 From: Daniel Teske Date: Thu, 12 Jun 2014 16:37:21 +0200 Subject: [PATCH] Remove AppOutputPane::runControls() The function is unused Change-Id: If12869fd51014a06d3feeb5f147e070f5f1ce463 Reviewed-by: Orgad Shaneh --- src/plugins/projectexplorer/appoutputpane.cpp | 8 -------- src/plugins/projectexplorer/appoutputpane.h | 2 -- src/plugins/projectexplorer/projectexplorer.cpp | 5 ----- src/plugins/projectexplorer/projectexplorer.h | 2 -- 4 files changed, 17 deletions(-) diff --git a/src/plugins/projectexplorer/appoutputpane.cpp b/src/plugins/projectexplorer/appoutputpane.cpp index 24462a8975f..f2b7136a26d 100644 --- a/src/plugins/projectexplorer/appoutputpane.cpp +++ b/src/plugins/projectexplorer/appoutputpane.cpp @@ -630,13 +630,5 @@ bool AppOutputPane::canNavigate() const return false; } -QList AppOutputPane::runControls() const -{ - QList result; - foreach (const RunControlTab& tab, m_runControlTabs) - result << tab.runControl; - return result; -} - #include "appoutputpane.moc" diff --git a/src/plugins/projectexplorer/appoutputpane.h b/src/plugins/projectexplorer/appoutputpane.h index 01a70c84f3c..cbaa2d52617 100644 --- a/src/plugins/projectexplorer/appoutputpane.h +++ b/src/plugins/projectexplorer/appoutputpane.h @@ -91,8 +91,6 @@ public: bool aboutToClose() const; bool closeTabs(CloseTabMode mode); - QList runControls() const; - signals: void allRunControlsFinished(); void runControlStarted(ProjectExplorer::RunControl *rc); diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index 4695bafd9c5..5aa762b1834 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -1733,11 +1733,6 @@ void ProjectExplorerPlugin::startRunControl(RunControl *runControl, RunMode runM emit updateRunActions(); } -QList ProjectExplorerPlugin::runControls() const -{ - return d->m_outputPane->runControls(); -} - void ProjectExplorerPlugin::initiateInlineRenaming() { renameFile(); diff --git a/src/plugins/projectexplorer/projectexplorer.h b/src/plugins/projectexplorer/projectexplorer.h index 8223ad9def0..73e0a8a57a8 100644 --- a/src/plugins/projectexplorer/projectexplorer.h +++ b/src/plugins/projectexplorer/projectexplorer.h @@ -120,8 +120,6 @@ public: /// This function needs to be called, only if the pages that support a project changed. void requestProjectModeUpdate(ProjectExplorer::Project *p); - QList runControls() const; - void initiateInlineRenaming(); static QString displayNameForStepId(Core::Id stepId);