[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
This commit is contained in:
parent
0d302d5c66
commit
4f419afe30
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue