Skip to content
Commit 8dbb35db authored by Kai Uwe Broulik's avatar Kai Uwe Broulik 🍇
Browse files

[User Switcher] Fix fallback user picture

As far as the JavaScript environment is concerned when comparing a QUrl (url basic type) is an empty Object.
This meant that an expression of !!url always evaluates true, even if the URL is empty/invalid.
Explicitly convert it toString() to make comparisons work.
parent 0550d53e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment