| 889 | } |
| 890 | |
| 891 | void |
| 892 | PreferencesPanel::onMTEnabledCheckBoxChecked(bool checked) |
| 893 | { |
| 894 | AnimatedCheckBox* cb = qobject_cast<AnimatedCheckBox*>( sender() ); |
| 895 | |
| 896 | if (!cb) { |
| 897 | return; |
| 898 | } |
| 899 | for (PluginTreeNodeList::iterator it = _imp->pluginsList.begin(); it != _imp->pluginsList.end(); ++it) { |
| 900 | if (it->mtCheckbox == cb) { |
| 901 | it->plugin->setMultiThreadingEnabled(checked); |
| 902 | _imp->pluginSettingsChanged = true; |
| 903 | break; |
| 904 | } |
| 905 | } |
| 906 | } |
| 907 | |
| 908 | void |
| 909 | PreferencesPanel::onGLEnabledCheckBoxChecked(bool checked) |
nothing calls this directly
no test coverage detected