mirror of
https://github.com/CalcProgrammer1/OpenRGB.git
synced 2026-10-19 07:17:27 -04:00
Set default percentage to 100% so that the progress bar goes away if device detection is skipped
This commit is contained in:
1 parent
f8af9980fd
commit
9c4e73bbed
2 files changed
+7
-1
No files matched your search
@@ -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)
|
||||
|
||||
+1
-1
@@ -20,7 +20,7 @@ class ResourceManager
|
||||
public:
|
||||
static ResourceManager *get();
|
||||
|
||||
ResourceManager() = default;
|
||||
ResourceManager();
|
||||
~ResourceManager();
|
||||
|
||||
void RegisterI2CBus(i2c_smbus_interface *);
|
||||
|
||||
Reference in new issue
Block a user