MCPcopy Create free account
hub / github.com/IENT/YUView / on_checkBoxNrThreads_stateChanged

Method on_checkBoxNrThreads_stateChanged

YUViewLib/src/ui/SettingsDialog.cpp:186–191  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

184}
185
186void SettingsDialog::on_checkBoxNrThreads_stateChanged(int newState)
187{
188 ui.spinBoxNrThreads->setEnabled(newState);
189 if (newState == Qt::Unchecked)
190 ui.spinBoxNrThreads->setValue(functions::getOptimalThreadCount());
191}
192
193void SettingsDialog::on_checkBoxEnablePlaybackCaching_stateChanged(int state)
194{

Callers

nothing calls this directly

Calls 1

getOptimalThreadCountFunction · 0.85

Tested by

no test coverage detected