diff --git a/src/output.cpp b/src/output.cpp index 5d2b7037ed..3e11b85bdc 100644 --- a/src/output.cpp +++ b/src/output.cpp @@ -268,7 +268,6 @@ void Output::setState(const State &state) Q_EMIT rgbRangeChanged(); } if (oldState.enabled != state.enabled) { - updateEnablement(state.enabled); Q_EMIT enabledChanged(); } } diff --git a/src/output.h b/src/output.h index 75c5611a0d..7c4820a1c9 100644 --- a/src/output.h +++ b/src/output.h @@ -321,11 +321,6 @@ protected: void setInformation(const Information &information); void setState(const State &state); - virtual void updateEnablement(bool enable) - { - Q_UNUSED(enable); - } - QSize orientateSize(const QSize &size) const; EffectScreenImpl *m_effectScreen = nullptr;