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

Method doControllerSettings

pcsx2-qt/MainWindow.cpp:3238–3257  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3236}
3237
3238void MainWindow::doControllerSettings(ControllerSettingsWindow::Category category)
3239{
3240 if (!m_controller_settings_window)
3241 m_controller_settings_window = new ControllerSettingsWindow();
3242
3243 if (!m_controller_settings_window->isVisible())
3244 {
3245 m_controller_settings_window->show();
3246 }
3247 else
3248 {
3249 m_controller_settings_window->raise();
3250 m_controller_settings_window->activateWindow();
3251 m_controller_settings_window->setFocus();
3252 }
3253
3254
3255 if (category != ControllerSettingsWindow::Category::Count)
3256 m_controller_settings_window->setCategory(category);
3257}
3258
3259QString MainWindow::getDiscDevicePath(const QString& title)
3260{

Callers

nothing calls this directly

Calls 3

raiseMethod · 0.80
setFocusMethod · 0.80
setCategoryMethod · 0.45

Tested by

no test coverage detected