https://bugs.kde.org/show_bug.cgi?id=472666

David Edmundson <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/plasma-desktop/-/commit/
                   |                            |f7c35933316fb956d740864290a
                   |                            |696c7d33e631b

--- Comment #5 from David Edmundson <[email protected]> ---
Git commit f7c35933316fb956d740864290a696c7d33e631b by David Edmundson.
Committed on 04/09/2023 at 16:41.
Pushed by davidedmundson into branch 'master'.

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.

M  +10   -3    kcms/keys/globalaccelmodel.cpp
M  +1    -0    kcms/keys/globalaccelmodel.h

https://invent.kde.org/plasma/plasma-desktop/-/commit/f7c35933316fb956d740864290a696c7d33e631b

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to