fixes GUI incompatibilty with some qt4 versions