diff --git a/quicksettings/screenrotation/screenrotationutil.cpp b/quicksettings/screenrotation/screenrotationutil.cpp index 2f6c9268..a62ed0ae 100644 --- a/quicksettings/screenrotation/screenrotationutil.cpp +++ b/quicksettings/screenrotation/screenrotationutil.cpp @@ -59,6 +59,9 @@ void ScreenRotationUtil::setAutoScreenRotationEnabled(bool value) } } + auto setop = new KScreen::SetConfigOperation(m_config, this); + setop->exec(); + Q_EMIT autoScreenRotationEnabledChanged(); }