mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-20 15:45:05 -04:00
Add detector names and display them in the progress bar
This commit is contained in:
1 parent
75899f973b
commit
f716a05947
50 files changed
+80
-56
No files matched your search
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user