Verified Commit 4f419afe 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
parent 0d302d5c
......@@ -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