fixed app crash bug
Merge pull request #11 from twobigears/Bug_Qfix_AppCrashonDelete

fixed app crash bug