@@ -74,10 +74,10 @@ bool Lights::init()
74 m_lightDevice = (light_device_t*)device;
74 m_lightDevice = (light_device_t*)device;
75 return true;
75 return true;
77− qWarning() << "Failt to access notification lights";
77+ qWarning() << "Failed to access notification lights";
80− qWarning() << "Failt to initialize lights hardware.";
80+ qWarning() << "Failed to initialize lights hardware.";
82 return false;
82 return false;
@@ -103,7 +103,7 @@ void Lights::turnOn()
103 state.brightnessMode = BRIGHTNESS_MODE_USER;
103 state.brightnessMode = BRIGHTNESS_MODE_USER;
105 if (m_lightDevice->set_light(m_lightDevice, &state) != 0) {
105 if (m_lightDevice->set_light(m_lightDevice, &state) != 0) {
106− qWarning() << "Fail to turn the light off";
106+ qWarning() << "Failed to turn the light off";
108 m_state = Lights::On;
108 m_state = Lights::On;
109 Q_EMIT stateChanged(m_state);
109 Q_EMIT stateChanged(m_state);
@@ -130,7 +130,7 @@ void Lights::turnOff()
130 state.brightnessMode = 0;
130 state.brightnessMode = 0;
132 if (m_lightDevice->set_light(m_lightDevice, &state) != 0) {
132 if (m_lightDevice->set_light(m_lightDevice, &state) != 0) {
133− qWarning() << "Fail to turn the light off";
133+ qWarning() << "Failed to turn the light off";
135 m_state = Lights::Off;
135 m_state = Lights::Off;
136 Q_EMIT stateChanged(m_state);
136 Q_EMIT stateChanged(m_state);