Qbs: Use TerminalAspect in QbsRunConfiguration

Change-Id: I6f1ddec10abda39149dd3743bdff1d0186d1de31
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
hjk
2015-05-12 13:05:14 +02:00
parent 3f6f02f2f1
commit 039a29d50d
4 changed files with 18 additions and 74 deletions

View File

@@ -112,6 +112,13 @@ void TerminalAspect::setUseTerminal(bool useTerminal)
m_useTerminal = useTerminal;
emit useTerminalChanged(useTerminal);
}
if (m_checkBox)
m_checkBox->setChecked(m_useTerminal);
}
bool TerminalAspect::isUserSet() const
{
return m_userSet;
}
ApplicationLauncher::Mode TerminalAspect::runMode() const
@@ -122,8 +129,6 @@ ApplicationLauncher::Mode TerminalAspect::runMode() const
void TerminalAspect::setRunMode(ApplicationLauncher::Mode runMode)
{
setUseTerminal(runMode == ApplicationLauncher::Console);
if (m_checkBox)
m_checkBox->setChecked(m_useTerminal);
}
/*!