Verified Commit b739df05 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

[kcm/kwindesktop] Emit rowsChanged signal to fix default state highlighting

Without this, the rowsChanged signal wasn't emitting at startup, so the
binding `highlight: kcm.desktopsModel.rows !== 2` didn't work correctly.

FIXED-IN: 5.24.7 5.25.3 5.26
(cherry picked from commit 4f419afe)
parent d0634166
Pipeline #202871 passed with stage
in 15 minutes and 56 seconds
......@@ -457,6 +457,8 @@ void DesktopsModel::getAllAndConnect(const QDBusMessage &msg)
m_names = m_serverSideNames;
m_rows = m_serverSideRows;
endResetModel();
Q_EMIT rowsChanged();
}
Q_EMIT readyChanged();
......
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