This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libcontacts] Reverse the logic for avatar data inspection
Since QtVersit removes the encoding parameter, it will be more reliable to test the data to see if it contains a resolvable URL or file path, and fall back to trying to interpret the data as an image.
- Loading branch information
1 parent
667749e
commit 0066bc7
Showing
1 changed file
with
23 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters