bruns added inline comments. INLINE COMMENTS
> databasesanitizer.cpp:163 > + DeviceInfo& deviceInfo = usedDevices[info.deviceId]; > + if (deviceInfo.id == 0) { > + deviceInfo.id = info.deviceId; instead of checking and filling it in here, just iterate over usedDevices after you have finished iterating over infos. REPOSITORY R293 Baloo REVISION DETAIL https://phabricator.kde.org/D11452 To: michaelh, #baloo, #frameworks Cc: bruns, smithjd, ashaposhnikov, michaelh, astippich, spoorun, ngraham, alexeymin