mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-18 11:49:45 -06:00

committed by
GitHub

parent
a97463b0ac
commit
287f6642fc
@ -82,6 +82,7 @@
|
||||
#include "ArchiveUtil.h"
|
||||
#include "CameraManager.h"
|
||||
#include "Window.h"
|
||||
#include "AboutDialog.h"
|
||||
|
||||
using namespace melonDS;
|
||||
|
||||
@ -645,6 +646,15 @@ MainWindow::MainWindow(int id, EmuInstance* inst, QWidget* parent) :
|
||||
actAudioSync->setCheckable(true);
|
||||
connect(actAudioSync, &QAction::triggered, this, &MainWindow::onChangeAudioSync);
|
||||
}
|
||||
{
|
||||
QMenu* menu = menubar->addMenu("Help");
|
||||
actAbout = menu->addAction("About...");
|
||||
connect(actAbout, &QAction::triggered, this, [&]{
|
||||
auto dialog = AboutDialog(this);
|
||||
dialog.exec();
|
||||
});
|
||||
}
|
||||
|
||||
setMenuBar(menubar);
|
||||
|
||||
if (localCfg.GetString("Firmware.Username") == "Arisotura")
|
||||
|
Reference in New Issue
Block a user