fix custommake manager crashes when deleting, renaming folders
authorMilian Wolff <mail@milianw.de>
Sat, 16 Oct 2010 14:16:11 +0000 (16:16 +0200)
committerMilian Wolff <mail@milianw.de>
Sat, 16 Oct 2010 14:16:18 +0000 (16:16 +0200)
commit25360dfe42a9f1e2e9fdf9db1ff503ad0e46de3e
treeb7d1b9341ee7a4b27ec60951b7df5089e80f6965
parent3c56353f74ea197cd172df238c3764274f386345
fix custommake manager crashes when deleting, renaming folders

the internal map stored sometimes paths with trailing slash, sometimes without making the lookup
fail randomly leading to dangling pointers and crashes in the worst case

BUG: 253829
projectmanagers/custommake/custommakemanager.cpp
projectmanagers/custommake/custommaketreesynchronizer.cpp
projectmanagers/custommake/custommaketreesynchronizer.h
projectmanagers/custommake/projectfilesystemwatcher.cpp
projectmanagers/custommake/projectfilesystemwatcher.h