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

Harald Sitter <sit...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sit...@kde.org

--- Comment #9 from Harald Sitter <sit...@kde.org> ---
(In reply to Aleix Pol from comment #7)
> @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.

Mh, you are right. I should have put on my glasses ;)

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

Reply via email to