backport from master: only append subdirs to actual parent list jobs, fixes random...
authorMilian Wolff <mail@milianw.de>
Wed, 27 Oct 2010 18:20:12 +0000 (20:20 +0200)
committerMilian Wolff <mail@milianw.de>
Wed, 27 Oct 2010 18:20:12 +0000 (20:20 +0200)
commit551bb3d8330fb7f0886e9d3ffc35144a0bc9138e
treef4d44d6cbc8f4475f43ea3f892b4f8d5848fe34f
parentc238fd5b869b5a7463e54c2acc5b237bffe59cfd
backport from master: only append subdirs to actual parent list jobs, fixes random crashes

before we used sig/slot (for no reason?) and that way each dir was appended to *all* running import jobs
this lead to the jobs filtering and deleting their items and leading to various crashes

BUG: 254261
plugins/genericprojectmanager/genericmanager.cpp
plugins/genericprojectmanager/genericmanager.h
plugins/genericprojectmanager/genericmanagerlistjob.cpp
plugins/genericprojectmanager/genericmanagerlistjob.h
plugins/genericprojectmanager/test/reloadtest.cpp
plugins/genericprojectmanager/test/reloadtest.h