fix minor error before merging pull request
better ressource handling in GraphicTest.pro