Skip to content

DislogButtonBox: Fix url value comparison with non-strict ==

ivan tkachenko requested to merge work/ratijas/dbb-tostring into master

Another case solved, Dr. Watson. The reason was that QUrl is an "object" for QML engine, and non-strict equality operator simply converts it toString() beforehand. Icon source is a url, icon name is already a string. Let's convert and compare explicitly and without dark magic.

Merge request reports