Fix module UPower display device poniter
Force displayDevice to be a nullptr on class setup
This commit is contained in:
parent
27fec51439
commit
82b632e4ec
|
@ -66,7 +66,7 @@ class UPower : public AModule {
|
|||
Devices devices;
|
||||
std::mutex m_Mutex;
|
||||
UpClient *client;
|
||||
UpDevice *displayDevice;
|
||||
UpDevice *displayDevice = nullptr;
|
||||
guint login1_id;
|
||||
GDBusConnection *login1_connection;
|
||||
std::unique_ptr<UPowerTooltip> upower_tooltip;
|
||||
|
|
Loading…
Reference in New Issue