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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://commits.kde.org/kin
                   |                            |focenter/c0be941faf015e588b
                   |                            |c40817a29f83a85e92b951
         Resolution|---                         |FIXED

--- Comment #4 from Harald Sitter <sit...@kde.org> ---
Git commit c0be941faf015e588bc40817a29f83a85e92b951 by Harald Sitter.
Committed on 12/02/2020 at 11:16.
Pushed by sitter into branch 'master'.

don't hold initdness in a static var

with the move to systemsettings the module live times seem to have changed
so the statics survive a module switch and would prevent the module from
initializing again when viewed a second time.
instead simply look at m_entries to determine if we need to init. entries
are never empty after load, so it's a reliable indication for initdness.

M  +1    -3    Modules/about-distro/src/Module.cpp

https://commits.kde.org/kinfocenter/c0be941faf015e588bc40817a29f83a85e92b951

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

Reply via email to