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

Fushan Wen <qydwhotm...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/plasma-desktop/-/commit/ |ma/plasma-desktop/-/commit/
                   |5d04608fefeaebeeed590bf1e35 |163248cf719ef3d91afa7723c4b
                   |76428a141adac               |b59a9251c36f0

--- Comment #7 from Fushan Wen <qydwhotm...@gmail.com> ---
Git commit 163248cf719ef3d91afa7723c4bb59a9251c36f0 by Fushan Wen, on behalf of
David Edmundson.
Committed on 24/01/2025 at 09:07.
Pushed by fusionfuture into branch 'Plasma/6.3'.

kcms/ksmserver: Fix settings object lifetime management

Registering a QML singleton with an object with a small lifespan than
the engine is wrong.

This will assert (or at best be broken) when the KCM is opened, closed
and reopened.

This is in line with other KCMs.
Related: bug 487028


(cherry picked from commit 5d04608fefeaebeeed590bf1e3576428a141adac)

Co-authored-by: David Edmundson <k...@davidedmundson.co.uk>

M  +6    -3    kcms/ksmserver/kcmsmserver.cpp
M  +6    -1    kcms/ksmserver/kcmsmserver.h
M  +15   -16   kcms/ksmserver/ui/main.qml

https://invent.kde.org/plasma/plasma-desktop/-/commit/163248cf719ef3d91afa7723c4bb59a9251c36f0

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

Reply via email to