forked from qt-creator/qt-creator
Debugger: Remove unused ActionDescription::isRunnable
Change-Id: If09d188bdf3e03929ed0371258a0952709e53643 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -3416,14 +3416,6 @@ void saveModeToRestore()
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
bool ActionDescription::isRunnable(QString *reason) const
|
||||
{
|
||||
if (m_customToolStarter) // Something special. Pretend we can always run it.
|
||||
return true;
|
||||
|
||||
return ProjectExplorerPlugin::canRunStartupProject(m_runMode, reason);
|
||||
}
|
||||
|
||||
static bool buildTypeAccepted(QFlags<ToolMode> toolMode, BuildConfiguration::BuildType buildType)
|
||||
{
|
||||
if (buildType == BuildConfiguration::Unknown)
|
||||
|
||||
Reference in New Issue
Block a user