mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Fix: prevent event loop error in ROGCC
Leftover code from parts of the refactor and tray crate change were causing the app to crash due to the UI trying to issue a command on the slint thread when the slint thread had not been created yet. Closes #579
This commit is contained in:
@@ -1,11 +1,8 @@
|
||||
use rog_platform::firmware_attributes::FirmwareAttributes;
|
||||
use zbus::Connection;
|
||||
|
||||
use log::error;
|
||||
use rog_platform::firmware_attributes::{AttrValue, Attribute};
|
||||
use rog_platform::firmware_attributes::{AttrValue, Attribute, FirmwareAttributes};
|
||||
use serde::{Deserialize, Serialize};
|
||||
use zbus::zvariant::{ObjectPath, OwnedObjectPath, OwnedValue, Type, Value};
|
||||
use zbus::{fdo, interface};
|
||||
use zbus::{fdo, interface, Connection};
|
||||
|
||||
use crate::error::RogError;
|
||||
use crate::ASUS_ZBUS_PATH;
|
||||
|
||||
@@ -268,7 +268,7 @@ impl DeviceManager {
|
||||
found.push(path);
|
||||
}
|
||||
} else {
|
||||
warn!("No serial for SCSI device");
|
||||
debug!("No serial for SCSI device: {:?}", device.devpath());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user