| 238 | } |
| 239 | |
| 240 | bool ActionQueueSettingsDialog::AskForSettings(QWidget *parent, |
| 241 | ActionQueue &settings) |
| 242 | { |
| 243 | ActionQueueSettingsDialog dialog(parent, settings); |
| 244 | dialog.setWindowTitle(obs_module_text("AdvSceneSwitcher.windowTitle")); |
| 245 | if (dialog.exec() != DialogCode::Accepted) { |
| 246 | return false; |
| 247 | } |
| 248 | |
| 249 | settings._name = dialog._name->text().toStdString(); |
| 250 | settings._runOnStartup = dialog._runOnStartup->isChecked(); |
| 251 | settings._resolveVariablesOnAdd = |
| 252 | dialog._resolveVariablesOnAdd->isChecked(); |
| 253 | return true; |
| 254 | } |
| 255 | |
| 256 | void ActionQueueSettingsDialog::StartStopClicked() |
| 257 | { |
nothing calls this directly
no test coverage detected