Ported uiRunning
FossilOrigin-Name: bc822e7b940bf0e3eceaf99d6a47921af1a361f0
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user