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

Method setToCurrent

src/optiondialog.cpp:431–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

429 }
430
431 void setToCurrent() override
432 {
433 if(mVarCodec != nullptr)
434 {
435 for(qint32 i = 0; i < m_codecVec.size(); ++i)
436 {
437 if(*mVarCodec == m_codecVec[i])
438 {
439 setCurrentIndex(i);
440 break;
441 }
442 }
443 }
444 }
445
446 using OptionCodec::apply;
447 void apply() override

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected