MCPcopy Create free account
hub / github.com/cppcheck-opensource/cppcheck / updateStyle

Method updateStyle

gui/codeeditstyledialog.cpp:225–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223}
224
225void StyleEditDialog::updateStyle()
226{
227 mBtnDefaultLight->setEnabled(mStyleOutgoing != defaultStyleLight);
228 mBtnDefaultDark->setEnabled(mStyleOutgoing != defaultStyleDark);
229 // set Editor Styling
230 mSampleEditor->setStyle(mStyleOutgoing);
231}
232
233CodeEditorStyle StyleEditDialog::getStyle() const
234{

Callers

nothing calls this directly

Calls 2

setEnabledMethod · 0.80
setStyleMethod · 0.80

Tested by

no test coverage detected