MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / insertIntoMap

Function insertIntoMap

src/theme/QtAdvancedStylesheet.cpp:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199
200template <class Key, class T>
201static void insertIntoMap(QMap<Key, T>& Map, const QMap<Key, T> &map)
202{
203#if QT_VERSION >= 0x050F00
204 Map.insert(map);
205#else
206 for (auto itc = map.constBegin(); itc != map.constEnd(); ++itc)
207 {
208 Map.insert(itc.key(), itc.value());
209 }
210#endif
211}
212
213
214/**

Callers 1

parseThemeFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected