Fix error when compiling on Qt
Merge pull request #1 from Bushstar/patch-3

Fix error when compiling on Qt