| 608 | } |
| 609 | |
| 610 | void MainWindow::createFileMenu() |
| 611 | { |
| 612 | QAction *action; |
| 613 | |
| 614 | /* File Menu */ |
| 615 | QMenu *fileMenu = menuBar()->addMenu(tr("File")); |
| 616 | |
| 617 | action = fileMenu->addAction(tr("Open Executable..."), this, &MainWindow::slotBrowseGamePath); |
| 618 | disabledActionsOnStart.append(action); |
| 619 | action = fileMenu->addAction(tr("Executable Options..."), this, [this] { windowManager->showExecutableWindow(); }); |
| 620 | disabledActionsOnStart.append(action); |
| 621 | } |
| 622 | |
| 623 | void MainWindow::createSettingsMenu() |
| 624 | { |
nothing calls this directly
no test coverage detected