Merge pull request #2855 from SquishyPandaDev/upower-ptr-fix

Fix module UPower display device poniter
pull/2704/merge
Alexis Rouillard 2024-01-22 09:49:55 +01:00 committed by GitHub
commit 0d9c492998
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ class UPower : public AModule {
Devices devices; Devices devices;
std::mutex m_Mutex; std::mutex m_Mutex;
UpClient *client; UpClient *client;
UpDevice *displayDevice; UpDevice *displayDevice = nullptr;
guint login1_id; guint login1_id;
GDBusConnection *login1_connection; GDBusConnection *login1_connection;
std::unique_ptr<UPowerTooltip> upower_tooltip; std::unique_ptr<UPowerTooltip> upower_tooltip;