QT: update ui_main.h to fix travis build