https://bugs.kde.org/show_bug.cgi?id=482095

--- Comment #7 from Aleix Pol <aleix...@kde.org> ---
@Harald, I'm not sure why you reached the conclusion that it's because of the
nameSortKey. The deduplication happens when removing duplicates of the
StreamResults and this is identified by their resource pointer address:

Q_ASSERT(results.size() == QSet(results.constBegin(),
results.constEnd()).size());

inline size_t qHash(const StreamResult &key, size_t seed = 0)
{
    return qHash(quintptr(key.resource), seed);
}

I did a small test and it seems that we are emitting the same resource several
times for the same stream. I'll make a patch for that. I have been able to
reproduce the issue although not reliably so double-checking would be
appreciated.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to