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
|
||||
|
||||
|
||||
|
@ -145,7 +145,7 @@ private:
|
||||
void setCurrentWorkspace(const QString &workspace);
|
||||
void log(const QString &text, bool isHTML=false);
|
||||
void setStatus(const QString &text);
|
||||
bool uiRunning() const { return fossilUI.state() == QProcess::Running; }
|
||||
bool uiRunning() const;
|
||||
void getSelectionFilenames(QStringList &filenames, int includeMask=RepoFile::TYPE_ALL, bool allIfEmpty=false);
|
||||
void getFileViewSelection(QStringList &filenames, int includeMask=RepoFile::TYPE_ALL, bool allIfEmpty=false);
|
||||
void getDirViewSelection(QStringList &filenames, int includeMask=RepoFile::TYPE_ALL, bool allIfEmpty=false);
|
||||
|
Reference in New Issue
Block a user