Changeset View
Changeset View
Standalone View
Standalone View
libcolorcorrect/compositorcoloradaptor.cpp
Show First 20 Lines • Show All 116 Lines • ▼ Show 20 Line(s) | 115 | { | |||
---|---|---|---|---|---|
117 | 117 | | |||
118 | if (!m_nightColorAvailable) { | 118 | if (!m_nightColorAvailable) { | ||
119 | setError(ErrorCode::ErrorCodeBackendNoSupport); | 119 | setError(ErrorCode::ErrorCodeBackendNoSupport); | ||
120 | return false; | 120 | return false; | ||
121 | } | 121 | } | ||
122 | 122 | | |||
123 | SETTER(m_activeEnabled, data["ActiveEnabled"].toBool(), activeEnabledChanged()) | 123 | SETTER(m_activeEnabled, data["ActiveEnabled"].toBool(), activeEnabledChanged()) | ||
124 | SETTER(m_active, data["Active"].toBool(), activeChanged()) | 124 | SETTER(m_active, data["Active"].toBool(), activeChanged()) | ||
125 | | ||||
126 | SETTER(m_running, data["Running"].toBool(), runningChanged()) | ||||
125 | SETTER(m_mode, (Mode)data["Mode"].toInt(), modeChanged()) | 127 | SETTER(m_mode, (Mode)data["Mode"].toInt(), modeChanged()) | ||
126 | 128 | | |||
127 | SETTER(m_nightTemperatureEnabled, data["NightTemperatureEnabled"].toBool(), nightTemperatureEnabledChanged()) | 129 | SETTER(m_nightTemperatureEnabled, data["NightTemperatureEnabled"].toBool(), nightTemperatureEnabledChanged()) | ||
128 | SETTER(m_nightTemperature, data["NightTemperature"].toInt(), nightTemperatureChanged()) | 130 | SETTER(m_nightTemperature, data["NightTemperature"].toInt(), nightTemperatureChanged()) | ||
129 | SETTER(m_curColorT, data["CurrentColorTemperature"].toInt(), curColorTChanged()) | 131 | SETTER(m_curColorT, data["CurrentColorTemperature"].toInt(), curColorTChanged()) | ||
130 | 132 | | |||
131 | SETTER(m_locationEnabled, data["LocationEnabled"].toBool(), locationEnabledChanged()) | 133 | SETTER(m_locationEnabled, data["LocationEnabled"].toBool(), locationEnabledChanged()) | ||
132 | SETTER(m_latitudeAuto, data["LatitudeAuto"].toDouble(), latitudeAutoChanged()) | 134 | SETTER(m_latitudeAuto, data["LatitudeAuto"].toDouble(), latitudeAutoChanged()) | ||
▲ Show 20 Lines • Show All 153 Lines • Show Last 20 Lines |