Better compatibility with Qt 4.2 (hell yeah!)