Fix for Qt5

Signed-off-by: Tamas TEVESZ <ice@extreme.hu>