mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-02-24 18:27:05 -05:00
Set default percentage to 100% so that the progress bar goes away if device detection is skipped
This commit is contained in:
@@ -14,6 +14,12 @@ ResourceManager *ResourceManager::get()
|
||||
return instance.get();
|
||||
}
|
||||
|
||||
ResourceManager::ResourceManager()
|
||||
{
|
||||
detection_percent = 100;
|
||||
detection_string = "";
|
||||
}
|
||||
|
||||
ResourceManager::~ResourceManager()
|
||||
{
|
||||
for(i2c_smbus_interface* bus : busses)
|
||||
|
||||
Reference in New Issue
Block a user