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

Method setToDefault

src/optiondialog.cpp:420–429  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

418 }
419
420 void setToDefault() override
421 {
422 qint32 index = getDefaultIndex();
423
424 setCurrentIndex(index);
425 if(mVarCodec != nullptr)
426 {
427 *mVarCodec = m_codecVec[index];
428 }
429 }
430
431 void setToCurrent() override
432 {

Callers

nothing calls this directly

Calls 1

getDefaultIndexFunction · 0.85

Tested by

no test coverage detected