[Digikam-devel] [digikam] [Bug 326959] Digikam crash while scanning pictures for thumnails maintenance

Marcel Wiesweg marcel.wiesweg at gmx.de
Sun Nov 3 18:22:16 GMT 2013


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

--- Comment #40 from Marcel Wiesweg <marcel.wiesweg at gmx.de> ---
Git commit 5e19edff8afc8eeca9f3b9cbc92d3a54f23ae533 by Marcel Wiesweg.
Committed on 03/11/2013 at 18:16.
Pushed by mwiesweg into branch 'master'.

Do not store a QWidget in a static variable to retrieve the IccProfile for
thumbnails.
This crashes in case the thread is used from a non-UI thread.
Instead, store the IccProfile when the widget is set. This is not perfect, the
previous solution was not perfect either.
Note: For thumbnails, the profile setting is global for performance reasons

M  +5    -5    libs/threadimageio/thumbnailloadthread.cpp
M  +0    -1    utilities/maintenance/thumbstask.cpp

http://commits.kde.org/digikam/5e19edff8afc8eeca9f3b9cbc92d3a54f23ae533

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list