Commit 20427bfc authored by Nicolás Alvarez's avatar Nicolás Alvarez

Fix spelling in member variable name.

m_rechargabel -> m_rechargeable in the battery code of the Windows backend.
parent ce9e93cc
......@@ -53,7 +53,7 @@ int WinBattery::capacity() const
bool WinBattery::isRechargeable() const
{
return m_rechargabel;
return m_rechargeable;
}
bool WinBattery::isPowerSupply() const
......@@ -201,7 +201,7 @@ void WinBattery::powerChanged()
m_type = Solid::Battery::UnknownBattery;
}
m_rechargabel = info.Technology == 1;
m_rechargeable = info.Technology == 1;
if (m_charge != old_charge) {
emit chargePercentChanged(m_charge, m_device->udi());
......
......@@ -115,7 +115,7 @@ private:
Solid::Battery::BatteryType m_type;
int m_charge;
int m_capacity;
bool m_rechargabel;
bool m_rechargeable;
bool m_isPowerSupply;
Solid::Battery::ChargeState m_state;
Solid::Battery::Technology m_technology;
......
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