Changeset View
Changeset View
Standalone View
Standalone View
src/core/kconfigini.cpp
Show First 20 Lines • Show All 187 Lines • ▼ Show 20 Line(s) | 181 | } else { | |||
---|---|---|---|---|---|
188 | if (eqpos < 0) { | 188 | if (eqpos < 0) { | ||
189 | aKey = line; | 189 | aKey = line; | ||
190 | line.clear(); | 190 | line.clear(); | ||
191 | } else { | 191 | } else { | ||
192 | BufferFragment temp = line.left(eqpos); | 192 | BufferFragment temp = line.left(eqpos); | ||
193 | temp.trim(); | 193 | temp.trim(); | ||
194 | aKey = temp; | 194 | aKey = temp; | ||
195 | line.truncateLeft(eqpos + 1); | 195 | line.truncateLeft(eqpos + 1); | ||
196 | line.trim(); | ||||
196 | } | 197 | } | ||
197 | if (aKey.isEmpty()) { | 198 | if (aKey.isEmpty()) { | ||
198 | qWarning() << warningProlog(file, lineNo) << "Invalid entry (empty key)"; | 199 | qWarning() << warningProlog(file, lineNo) << "Invalid entry (empty key)"; | ||
199 | continue; | 200 | continue; | ||
200 | } | 201 | } | ||
201 | 202 | | |||
202 | KEntryMap::EntryOptions entryOptions = nullptr; | 203 | KEntryMap::EntryOptions entryOptions = nullptr; | ||
203 | if (groupOptionImmutable) { | 204 | if (groupOptionImmutable) { | ||
▲ Show 20 Lines • Show All 609 Lines • Show Last 20 Lines |