Fix formatting
This commit is contained in:
parent
6413f25b8d
commit
28ef5b7db2
|
@ -386,7 +386,7 @@ void UPower::setDisplayDevice() {
|
||||||
up_client_get_devices2(upClient_),
|
up_client_get_devices2(upClient_),
|
||||||
[](gpointer data, gpointer user_data) {
|
[](gpointer data, gpointer user_data) {
|
||||||
upDevice_output upDevice;
|
upDevice_output upDevice;
|
||||||
auto thisPtr {static_cast<UPower *>(user_data)};
|
auto thisPtr{static_cast<UPower *>(user_data)};
|
||||||
upDevice.upDevice = static_cast<UpDevice *>(data);
|
upDevice.upDevice = static_cast<UpDevice *>(data);
|
||||||
thisPtr->getUpDeviceInfo(upDevice);
|
thisPtr->getUpDeviceInfo(upDevice);
|
||||||
if (upDevice.model == nullptr) return;
|
if (upDevice.model == nullptr) return;
|
||||||
|
|
Loading…
Reference in New Issue