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

Arjen Hiemstra <ahiems...@heimr.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/libksysguard/-/commit/1f |ma/libksysguard/-/commit/9e
                   |ba81df1f93ddc21547922c11580 |a3571c903db1ebe72d5091eefc0
                   |beec0a69b0e                 |52288af252f

--- Comment #9 from Arjen Hiemstra <ahiems...@heimr.nl> ---
Git commit 9ea3571c903db1ebe72d5091eefc052288af252f by Arjen Hiemstra.
Committed on 15/11/2024 at 15:51.
Pushed by ahiemstra into branch 'Plasma/6.2'.

faces: Ensure the temporary dir for a preset remains until installed

QTemporaryDir deletes the temporary directory when it goes out of scope.
However, installing the preset with KPackage is an asynchronous
operation that can extend beyond the current scope. This can cause the
preset data to be deleted while we're still installing. To ensure this
doesn't happen, extend the lifetime of the QTemporaryDir into the lambda
we use to handle the job finished, so that it lives at least as long as
the job.

M  +6    -1    faces/SensorFaceController.cpp

https://invent.kde.org/plasma/libksysguard/-/commit/9ea3571c903db1ebe72d5091eefc052288af252f

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

Reply via email to