Fix formatting
This commit is contained in:
parent
6413f25b8d
commit
28ef5b7db2
|
@ -381,12 +381,12 @@ void UPower::setDisplayDevice() {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
this);
|
this);
|
||||||
} else { // if `nativePath_` is empty, but `model_` is not.
|
} else { // if `nativePath_` is empty, but `model_` is not.
|
||||||
g_ptr_array_foreach(
|
g_ptr_array_foreach(
|
||||||
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