From db7bf9a8068683fac9d28fcd7ab91dba371dea7e Mon Sep 17 00:00:00 2001 From: Lasse Holmstedt Date: Tue, 31 Aug 2010 17:33:41 +0200 Subject: Debugger: Removed unused methods --- src/plugins/debugger/debuggeruiswitcher.cpp | 25 ------------------------- 1 file changed, 25 deletions(-) (limited to 'src/plugins/debugger/debuggeruiswitcher.cpp') diff --git a/src/plugins/debugger/debuggeruiswitcher.cpp b/src/plugins/debugger/debuggeruiswitcher.cpp index a946c948f4..8a1aa02b08 100644 --- a/src/plugins/debugger/debuggeruiswitcher.cpp +++ b/src/plugins/debugger/debuggeruiswitcher.cpp @@ -750,29 +750,4 @@ QList DebuggerUISwitcher::i_mw_dockWidgets() const return d->m_dockWidgets; } -bool DebuggerUISwitcher::isCurrentProjectQmlCppBased() -{ - ProjectExplorer::Project *startupProject = ProjectExplorer::ProjectExplorerPlugin::instance()->startupProject(); - if (!startupProject) - return false; - - if (!startupProject->activeTarget()) - return false; - - ProjectExplorer::RunConfiguration *rc = startupProject->activeTarget()->activeRunConfiguration(); - - return DebuggerRunControl::isQmlProject(rc); -} - -bool DebuggerUISwitcher::isCurrentProjectCppBased() -{ - ProjectExplorer::Project *startupProject = ProjectExplorer::ProjectExplorerPlugin::instance()->startupProject(); - if (!startupProject) - return false; - const QString id = startupProject->id(); - return id == QLatin1String("GenericProjectManager.GenericProject") - || id == QLatin1String("CMakeProjectManager.CMakeProject") - || id == QLatin1String("Qt4ProjectManager.Qt4Project"); -} - } // namespace Debugger -- cgit v1.2.1