From 76f3e1ec207790b61625decfdb462161ddfc1b23 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Mon, 29 Aug 2022 09:54:05 +0300 Subject: [PATCH] Drop Output::updateEnablement() It's unused since moving placeholder output handling to the workspace. --- src/output.cpp | 1 - src/output.h | 5 ----- 2 files changed, 6 deletions(-) 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;