mirror of https://github.com/snes9xgit/snes9x.git
Merge pull request #967 from gilchavezm/patch-3
Qt: Update EmuApplication.cpp: handle Quit binding
This commit is contained in:
commit
48fe934463
|
@ -386,6 +386,10 @@ void EmuApplication::handleBinding(std::string name, bool pressed)
|
||||||
{
|
{
|
||||||
window->openFile();
|
window->openFile();
|
||||||
}
|
}
|
||||||
|
else if (name == "Quit" && pressed)
|
||||||
|
{
|
||||||
|
window->close();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
bool EmuApplication::isBound(EmuBinding b)
|
bool EmuApplication::isBound(EmuBinding b)
|
||||||
|
|
Loading…
Reference in New Issue