Make the code compile with Qt 5.2, fix lxde-qt bug #207.