Fix travis build

This commit is contained in:
xarkes 2017-09-02 11:43:21 +02:00
parent e83dae2c9a
commit b64fd5ad11
2 changed files with 5 additions and 3 deletions

View File

@ -20,8 +20,9 @@ script:
- mkdir build ; cd build
- qmake PREFIX=/usr APPIMAGE=1 ../src
- make -j4
- sudo make INSTALL_ROOT=appdir install ; sudo chown -R $USER appdir
- mkdir -p appdir/usr/share/radare2 ; cp -Lr /usr/share/radare2/*-git/ appdir/usr/share/radare2/ ; find appdir/
- mkdir appdir
- sudo make INSTALL_ROOT=appdir install && sudo chown -R $USER appdir
- mkdir -p appdir/usr/share/radare2 && cp -Lr /usr/share/radare2/*-git/ appdir/usr/share/radare2/ && find appdir/
after_success:
- wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage"

View File

@ -188,7 +188,8 @@ void MainWindow::initUI()
if (syntax == "") {
break;
}
QAction* action = new QAction(syntax);
QAction* action = new QAction(ui->menuAsm_syntax);
action->setText(syntax);
action->setCheckable(true);
if (syntax == checked) {
action->setChecked(true);