Commit ace23390 authored by Xuetian Weng's avatar Xuetian Weng Committed by Nate Graham
Browse files

KCM: Workaround unknown Qt issue that causes the revert dialog to be invisible

A better long-term fix is being discussed in

BUG: 449560
FIXED-IN: 5.24.1
parent cae29223
Pipeline #137326 passed with stage
in 2 minutes and 23 seconds
......@@ -173,7 +173,9 @@ void KCMKScreen::doSave(bool force)
if (!m_settingsReverted && m_configHandler->shouldTestNewSettings()) {
Q_EMIT showRevertWarning();
QTimer::singleShot(100, this, [this]() {
Q_EMIT showRevertWarning();
} else {
m_settingsReverted = false;
m_stopUpdatesFromBackend = false;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment