| 872 | } |
| 873 | |
| 874 | void |
| 875 | PreferencesPanel::onRSEnabledCheckBoxChecked(bool checked) |
| 876 | { |
| 877 | AnimatedCheckBox* cb = qobject_cast<AnimatedCheckBox*>( sender() ); |
| 878 | |
| 879 | if (!cb) { |
| 880 | return; |
| 881 | } |
| 882 | for (PluginTreeNodeList::iterator it = _imp->pluginsList.begin(); it != _imp->pluginsList.end(); ++it) { |
| 883 | if (it->rsCheckbox == cb) { |
| 884 | it->plugin->setRenderScaleEnabled(checked); |
| 885 | _imp->pluginSettingsChanged = true; |
| 886 | break; |
| 887 | } |
| 888 | } |
| 889 | } |
| 890 | |
| 891 | void |
| 892 | PreferencesPanel::onMTEnabledCheckBoxChecked(bool checked) |
nothing calls this directly
no test coverage detected