Don't store a ProjectBaseItem in the MakeJob
Use a QPersistantModelIndex instead and fetch the item only when it's needed. This way we can make sure that we don't crash if the item was deleted during the job's life. This is a bug fix, but I'm only committing to master for the moment. BUG: 319335 CCBUG: 293191 Conflicts: projectbuilders/makebuilder/makejob.cpp projectbuilders/makebuilder/makejob.h
Showing
- projectbuilders/makebuilder/makebuilder.cpp 0 additions, 1 deletionprojectbuilders/makebuilder/makebuilder.cpp
- projectbuilders/makebuilder/makejob.cpp 32 additions, 26 deletionsprojectbuilders/makebuilder/makejob.cpp
- projectbuilders/makebuilder/makejob.h 1 addition, 3 deletionsprojectbuilders/makebuilder/makejob.h
Loading
Please register or sign in to comment