[Digikam-devel] [Bug 181792] Folders appear empty on first run after KDE 3 -> KDE 4 import

Marcel Wiesweg marcel.wiesweg at gmx.de
Thu Jan 29 11:52:21 GMT 2009


http://bugs.kde.org/show_bug.cgi?id=181792


Marcel Wiesweg marcel wiesweg gmx de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #17 from Marcel Wiesweg <marcel wiesweg gmx de>  2009-01-29 12:52:21 ---
SVN commit 918131 by mwiesweg:

KIO jobs cannot be started from the non-UI thread.
Now when updating the database from 0.9, we used a KIO job from a worker
thread,
and this worked well for this job. But in this case internal KIO objects
(KIO::Scheduler) will be created in this worker thread, so all following usage
of KIO
from the main thread will fail, which caused the effect that no images are
visible after
the first start when updating.
Fix with using QFile::copy methods in SchemaUpdater.

(KIO should enforce not being used from worker thread in KIO::Scheduler
construction;
 or, there do not seem to be too large obstacles for creating per-thread usage
to remove
 the restriction)

BUG: 181792

 M  +9 -7      schemaupdater.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=918131


-- 
Configure bugmail: http://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list