Add exit menu item on non-OS X

This commit is contained in:
Jeffrey Pfau 2014-10-18 00:42:35 -07:00
parent add64ce269
commit d0b63162d5
1 changed files with 4 additions and 0 deletions

View File

@ -212,6 +212,10 @@ void Window::setupMenu(QMenuBar* menubar) {
menubar->clear();
QMenu* fileMenu = menubar->addMenu(tr("&File"));
fileMenu->addAction(tr("Load &ROM..."), this, SLOT(selectROM()), QKeySequence::Open);
#ifndef Q_OS_MAC
fileMenu->addSeparator();
fileMenu->addAction(tr("E&xit"), this, SLOT(close()), QKeySequence::Quit);
#endif
QMenu* emulationMenu = menubar->addMenu(tr("&Emulation"));
QAction* reset = new QAction(tr("&Reset"), emulationMenu);