MCPcopy Create free account
hub / github.com/clementgallet/libTAS / createFileMenu

Method createFileMenu

src/program/ui/MainWindow.cpp:610–621  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

608}
609
610void 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
623void MainWindow::createSettingsMenu()
624{

Callers

nothing calls this directly

Calls 2

showExecutableWindowMethod · 0.80
appendMethod · 0.45

Tested by

no test coverage detected