-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom icons duplicated #232
Comments
Would you match the base url only? Some sites have different icons for sub domains. |
@droidmonkey this and making sure clicking multiple times |
Maybe by comparing the checksum? I think it's always the same if the icon is the same (haven't tried). |
That's a good idea although it would be best to precalculate and store the checksum/hash in the db somehow. |
Something like an hash table maybe?
|
Why not use the icons themselves as keys? We could use a QHash map and
provide a qHash() implementation for icon data.
|
Yep, good idea! |
Custom icons for the same website are added multiple times.
Expected Behavior
We should at least try to detect duplicates and not fetch the icon multiple times for the same website.
Current Behavior
Custom icons for the same website are added multiple times.
Steps to Reproduce (for bugs)
Download favicon
multiple times.Context
I was trying to reproduce #225
Your Environment
The text was updated successfully, but these errors were encountered: