ui: don't use deprecated methods
ui: don't use deprecated methods

This ultimately breaks Qt4 builds

kripton/qlcplus,sbenejam/qlcplus,plugz/qlcplus,kripton/qlcplus,mcallegari/qlcplus,plugz/qlcplus,plugz/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,kripton/qlcplus,plugz/qlcplus,sbenejam/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,sbenejam/qlcplus,mcallegari/qlcplus,kripton/qlcplus,mcallegari/qlcplus,plugz/qlcplus,kripton/qlcplus,kripton/qlcplus,plugz/qlcplus,plugz/qlcplus,sbenejam/qlcplus,kripton/qlcplus