mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-08 11:36:43 +02:00
* GB: integrated SameBoy v0.12.1 by Lior Halphon * SFC: added HG51B169 (Cx4) math tables into bsnes binary
26 lines
476 B
C++
Executable File
26 lines
476 B
C++
Executable File
#if defined(Hiro_MenuSeparator)
|
|
|
|
namespace hiro {
|
|
|
|
auto pMenuSeparator::construct() -> void {
|
|
qtMenuSeparator = new QAction(nullptr);
|
|
qtMenuSeparator->setSeparator(true);
|
|
|
|
if(auto parent = _parentMenu()) {
|
|
parent->qtMenu->addAction(qtMenuSeparator);
|
|
}
|
|
|
|
if(auto parent = _parentPopupMenu()) {
|
|
parent->qtPopupMenu->addAction(qtMenuSeparator);
|
|
}
|
|
}
|
|
|
|
auto pMenuSeparator::destruct() -> void {
|
|
delete qtMenuSeparator;
|
|
qtMenuSeparator = nullptr;
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|