Fix formatting

This commit is contained in:
Lasse Luttermann 2024-05-14 10:21:24 +02:00
parent 6413f25b8d
commit 28ef5b7db2
1 changed files with 2 additions and 2 deletions

View File

@ -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;