[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
Please register or sign in to comment