Skip to content
Commit f7c35933 authored by David Edmundson's avatar David Edmundson
Browse files

kcms/keys: Fix applications model load

The current model calls beginResetModel then starts an asynchronous task
which will finally call endResetModel. All the time m_components and
thus the rowCount is changing.

It is undefined to process events between begin and end calls.

This patch introduced a temporary variable whilst loading components so
we can make a simpler synchronous reset.

BUG: 472666
parent 3d9d4e90
Pipeline #474102 failed with stage
in 4 minutes
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