[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [digikam] [Bug 326959] Digikam crash while scanning pictures for thumnails maintenance
From:       Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date:       2013-11-03 18:22:16
Message-ID: bug-326959-17878-YpulEsyKxJ () http ! bugs ! kde ! org/
[Download RAW message or body]

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

--- Comment #40 from Marcel Wiesweg <marcel.wiesweg@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 watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic