MCPcopy Create free account
hub / github.com/KDE/kdiff3 / apply

Method apply

src/optiondialog.cpp:300–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

298
299 using OptionItemBase::apply;
300 void apply() override
301 {
302 if(m_pVarNum != nullptr)
303 {
304 *m_pVarNum = currentIndex();
305 }
306 else
307 {
308 *m_pVarStr = currentText();
309 }
310 }
311
312 void write(ValueMap* config) const override
313 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected