MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / doSettings

Method doSettings

pcsx2-qt/MainWindow.cpp:3167–3183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3165}
3166
3167void MainWindow::doSettings(const char* category /* = nullptr */)
3168{
3169 SettingsWindow* dlg = getSettingsWindow();
3170 if (!dlg->isVisible())
3171 {
3172 dlg->show();
3173 }
3174 else
3175 {
3176 dlg->raise();
3177 dlg->activateWindow();
3178 dlg->setFocus();
3179 }
3180
3181 if (category)
3182 dlg->setCategory(category);
3183}
3184
3185void MainWindow::doGameSettings(const char* category)
3186{

Callers 3

onThemeChangedMethod · 0.80
onLanguageChangedMethod · 0.80
onSettingsMethod · 0.80

Calls 3

raiseMethod · 0.80
setFocusMethod · 0.80
setCategoryMethod · 0.45

Tested by

no test coverage detected