quicksettings/screenrotation: Ensure save

Ensures that https://invent.kde.org/plasma/plasma-mobile/-/merge_requests/390 saves the setting
This commit is contained in:
Devin Lin 2023-11-05 18:56:50 -08:00
parent eeac29914a
commit 5b429b49d1

View file

@ -59,6 +59,9 @@ void ScreenRotationUtil::setAutoScreenRotationEnabled(bool value)
}
}
auto setop = new KScreen::SetConfigOperation(m_config, this);
setop->exec();
Q_EMIT autoScreenRotationEnabledChanged();
}