overlays: add dynamic switch for perf overlay

This commit is contained in:
Megamouse 2019-10-18 03:16:48 +02:00
parent b5f6b27f86
commit f2b530823b
7 changed files with 165 additions and 82 deletions

View file

@ -1255,6 +1255,7 @@ void main_window::CreateConnects()
connect(&dlg, &settings_dialog::GuiSettingsSyncRequest, this, &main_window::ConfigureGuiFromSettings);
connect(&dlg, &settings_dialog::GuiStylesheetRequest, this, &main_window::RequestGlobalStylesheetChange);
connect(&dlg, &settings_dialog::GuiRepaintRequest, this, &main_window::RepaintGui);
connect(&dlg, &settings_dialog::accepted, this, &main_window::NotifyEmuSettingsChange);
dlg.exec();
};