#5505 Progress Bar : Control visibility of progress bar in Preferences

This commit is contained in:
Magne Sjaastad
2020-02-11 11:43:31 +01:00
parent 36a3a7c0ed
commit c31e4cbaaf
5 changed files with 26 additions and 1 deletions
@@ -672,6 +672,14 @@ namespace caf {
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void ProgressInfoStatic::setEnabled(bool enable)
{
s_disabled = !enable;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
@@ -87,6 +87,7 @@ public:
static void setNextProgressIncrement(size_t nextStepSize);
static bool isRunning();
static void finished();
static void setEnabled(bool enable);
private:
static bool isUpdatePossible();