forked from qt-creator/qt-creator
		
	Add TerminalAspect convenience accessor
Unbreaks build after 90f19ce. Change-Id: I0f1ddec10abda39149dd3743bdff1d0186d1de31 Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
		@@ -113,6 +113,16 @@ void TerminalAspect::setUseTerminal(bool useTerminal)
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
ApplicationLauncher::Mode TerminalAspect::runMode() const
 | 
			
		||||
{
 | 
			
		||||
    return m_useTerminal ? ApplicationLauncher::Console : ApplicationLauncher::Gui;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void TerminalAspect::setRunMode(ApplicationLauncher::Mode runMode)
 | 
			
		||||
{
 | 
			
		||||
    setUseTerminal(runMode == ApplicationLauncher::Console);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
/*!
 | 
			
		||||
    \class ProjectExplorer::WorkingDirectoryAspect
 | 
			
		||||
*/
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user