gui/qt: main_interface: remove legacy code