Commit 99303191 authored by Piyush Aggarwal's avatar Piyush Aggarwal 🎮

initialize battery plugin members to fix crashing on Windows

parent f2d97193
Pipeline #39183 passed with stage
in 6 minutes and 47 seconds
...@@ -44,8 +44,8 @@ private: ...@@ -44,8 +44,8 @@ private:
ThresholdBatteryLow = 1 ThresholdBatteryLow = 1
}; };
int m_charge; int m_charge = -1;
bool m_isCharging; bool m_isCharging = false;
}; };
#endif #endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment