┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorMartin T. H. Sandsmark <[email protected]>2016-05-15 18:09:09 +0200
committerMartin T. H. Sandsmark <[email protected]>2016-05-21 18:11:46 +0200
commitb1471bbd09d88da3ffe8159075b3108bf9586220 (patch)
treec594e1679dbd0fab59be0a352ed76d79d0b663e4 /src/main.cpp
parentb7ad5fb99d32d43fe4e083a8ffc2ebfbd046d2db (diff)
Fix crash when closing split view with ownCloud plugin loaded
KPluginLoader::instantiatePlugins() wraps QPluginLoader::instace(), which doesn't return a new object for each call, so if we set the KFileItemModelRolesUpdater instance as parent to the plugin the shared instance will be deleted leading to crashes when other instances of KFileItemModelRolesUpdater tries to use their plugin objects. To fix this, set the QApplication as a parent. BUG: 357479 REVIEW: 127930
Diffstat (limited to 'src/main.cpp')
0 files changed, 0 insertions, 0 deletions