patched to compile with QT 4.6.x
Merge pull request #80 from flatr0ze/master

patched to compile with QT 4.6.x