Revision 473d74a...

Go back to digest for 19th May 2013

Bug Fixes in KDE-PIM

Jan Kundrát committed changes in [trojita] src/Gui/Window.cpp:

Destroy the models immediately when returning from the settings dialog

Previsouly, there was a possibility that the SQL cache might be involved in some
activity at the time the nukeModels() was called. However, due to the delayed
deleting, the Model's actual destructor (which destroyes the cache, which ends
the active transaction) might be run only after the setupModels() has finished,
which meant that the newly-created sqlite connection hit a locked database.

Thanks to Stefan Kögl (hotte on IRC) for reporting.

File Changes

Modified 1 files
  • src/Gui/Window.cpp
1 files changed in total