| 3236 | } |
| 3237 | |
| 3238 | void 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 | |
| 3259 | QString MainWindow::getDiscDevicePath(const QString& title) |
| 3260 | { |
nothing calls this directly
no test coverage detected