void ProgressManager::updateProgress()

in src/progress_manager.cpp [9:22]


void ProgressManager::updateProgress(unsigned int newValue, const std::string &message) {
    if (newValue < currentValue) {
        return;
    } else if (newValue < minValue) {
        newValue = minValue;
    } else if (newValue > maxValue) {
        newValue = maxValue;
    }
    currentValue = newValue;

    if (!progressFileName.empty()) {
        updateProgressFileContents(message);
    }
}