MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / onMTEnabledCheckBoxChecked

Method onMTEnabledCheckBoxChecked

Gui/PreferencesPanel.cpp:891–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891void
892PreferencesPanel::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
908void
909PreferencesPanel::onGLEnabledCheckBoxChecked(bool checked)

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected