diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp index a45fd751..09acc8df 100644 --- a/src/MainWindow.cpp +++ b/src/MainWindow.cpp @@ -134,15 +134,15 @@ void MainWindow::initUI() DebugToolbar *debugToolbar = new DebugToolbar(this); ui->mainToolBar->addWidget(debugToolbar); // Debug menu - ui->menuDebug->addAction(debugToolbar->actionStart); + // ui->menuDebug->addAction(debugToolbar->actionStart); ui->menuDebug->addAction(debugToolbar->actionStartEmul); - ui->menuDebug->addAction(debugToolbar->actionAttach); + // ui->menuDebug->addAction(debugToolbar->actionAttach); ui->menuDebug->addSeparator(); ui->menuDebug->addAction(debugToolbar->actionStep); ui->menuDebug->addAction(debugToolbar->actionStepOver); ui->menuDebug->addSeparator(); - ui->menuDebug->addAction(debugToolbar->actionContinue); - ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall); + // ui->menuDebug->addAction(debugToolbar->actionContinue); + // ui->menuDebug->addAction(debugToolbar->actionContinueUntilCall); ui->menuDebug->addAction(debugToolbar->actionContinueUntilSyscall); // Sepparator between undo/redo and goto lineEdit diff --git a/src/widgets/DebugToolbar.cpp b/src/widgets/DebugToolbar.cpp index 2099022a..ab0e0210 100644 --- a/src/widgets/DebugToolbar.cpp +++ b/src/widgets/DebugToolbar.cpp @@ -43,10 +43,11 @@ DebugToolbar::DebugToolbar(MainWindow *main, QWidget *parent) : startButton->setPopupMode(QToolButton::MenuButtonPopup); connect(startButton, &QToolButton::triggered, startButton, &QToolButton::setDefaultAction); QMenu *startMenu = new QMenu; - startMenu->addAction(actionStart); + // startMenu->addAction(actionStart); startMenu->addAction(actionStartEmul); - startMenu->addAction(actionAttach); - startButton->setDefaultAction(actionStart); + // startMenu->addAction(actionAttach); + // startButton->setDefaultAction(actionStart); + startButton->setDefaultAction(actionStartEmul); startButton->setMenu(startMenu); QToolButton *continueUntilButton = new QToolButton;