Ported uiRunning

FossilOrigin-Name: bc822e7b940bf0e3eceaf99d6a47921af1a361f0
This commit is contained in:
kostas
2015-04-26 10:41:44 +00:00
parent de78beb1b5
commit f261fbaa66
4 changed files with 22 additions and 9 deletions

View File

@@ -1769,6 +1769,13 @@ void MainWindow::stopUI()
ui->actionFossilUI->setChecked(false);
}
//------------------------------------------------------------------------------
bool MainWindow::uiRunning() const
{
return fossilUI.state() == QProcess::Running;
}
#else
bool MainWindow::startUI()
{
@@ -1784,6 +1791,12 @@ void MainWindow::stopUI()
ui->actionFossilUI->setChecked(false);
}
//------------------------------------------------------------------------------
bool MainWindow::uiRunning() const
{
return bridge.uiRunning();
}
#endif