Settings: register the Core::State type with Qt

This commit is contained in:
Michael M
2017-09-15 10:33:22 -07:00
parent 7cb8d6612c
commit 6191f04524
2 changed files with 3 additions and 0 deletions

View File

@ -18,6 +18,7 @@
Settings::Settings()
{
qRegisterMetaType<Core::State>();
Core::SetOnStateChangedCallback(
[this](Core::State new_state) { emit EmulationStateChanged(new_state); });
}