Remove deprecated stuff (compiles on Qt 5.2)