mirror of
https://github.com/binary-kitchen/doorlockd
synced 2024-12-22 10:24:26 +01:00
doorlock-client: Add more error output
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
This commit is contained in:
parent
951e1de987
commit
ee481009e1
@ -56,6 +56,8 @@ static void onDoorlockUpdate(const Clientmessage &msg)
|
|||||||
LogLevel::info);
|
LogLevel::info);
|
||||||
if (mainWindow) {
|
if (mainWindow) {
|
||||||
mainWindow->setClientmessage(msg);
|
mainWindow->setClientmessage(msg);
|
||||||
|
} else {
|
||||||
|
l(LogLevel::error, "No valid UI object!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user