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

Method readOptions

src/Options.cpp:102–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void Options::readOptions(const KSharedConfigPtr config)
103{
104 // No i18n()-Translations here!
105
106 ConfigValueMap cvm(config->group(KDIFF3_CONFIG_GROUP));
107
108 read(&cvm);
109
110 if(m_whiteSpace2FileMergeDefault <= (qint32)e_SrcSelector::Min)
111 m_whiteSpace2FileMergeDefault = (qint32)e_SrcSelector::None;
112
113 if(m_whiteSpace2FileMergeDefault > (qint32)e_SrcSelector::Max)
114 m_whiteSpace2FileMergeDefault = (qint32)e_SrcSelector::C;
115}
116
117const QString Options::parseOptions(const QStringList& optionList)
118{

Callers 2

KDiff3AppMethod · 0.80
optiondialog.cppFile · 0.80

Calls 1

readFunction · 0.85

Tested by

no test coverage detected