summaryrefslogtreecommitdiff
path: root/src/plugins/debugger/debuggeruiswitcher.cpp
diff options
context:
space:
mode:
authorLasse Holmstedt <lasse.holmstedt@nokia.com>2010-08-31 17:33:41 +0200
committerLasse Holmstedt <lasse.holmstedt@nokia.com>2010-08-31 17:34:03 +0200
commitdb7bf9a8068683fac9d28fcd7ab91dba371dea7e (patch)
tree450f8b078878b3361ccb2b10e4644e78281a29c4 /src/plugins/debugger/debuggeruiswitcher.cpp
parent972929cf8e19e04e18c122d011a96d53cb17d6ae (diff)
downloadqt-creator-db7bf9a8068683fac9d28fcd7ab91dba371dea7e.tar.gz
Debugger: Removed unused methods
Diffstat (limited to 'src/plugins/debugger/debuggeruiswitcher.cpp')
-rw-r--r--src/plugins/debugger/debuggeruiswitcher.cpp25
1 files changed, 0 insertions, 25 deletions
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<QDockWidget* > 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