Add detector names and display them in the progress bar

This commit is contained in:
Adam Honse committed 2020-08-07 14:01:59 -05:00
1 parent 75899f973b
commit f716a05947
50 files changed
+80 -56

No files matched your search

+3
View File
@@ -417,6 +417,9 @@ void OpenRGBDialog2::on_ClientListUpdated()
ui->DetectionProgressBar->setRange(0, 100);
ui->DetectionProgressBar->setValue(ResourceManager::get()->GetDetectionPercent());
ui->DetectionProgressBar->setTextVisible(true);
ui->DetectionProgressBar->setFormat("Detecting " + QString::fromStdString(ResourceManager::get()->GetDetectionString()));
ui->DetectionProgressBar->setAlignment(Qt::AlignCenter);
if(ResourceManager::get()->GetDetectionPercent() == 100)
{