Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135652

Using QIcon from png and svg file in a toolbar with >100% scaler ratio causes wrong icon size to be picked elsewhere

XMLWordPrintable

    • Windows
    • 9eddf930a (dev), f71e7ce35 (6.9), 472306523 (dev), fe7a4b7bf (6.10), 7de9b172a (6.9), f964ab1ee (tqtc/lts-6.8), c0587fb5e (tqtc/lts-6.8)

      To reproduce:

      • set scale ratio to something higher than 100%
      • run the application
      • click Click me

      The red icon in the list view is too small.

      If you comment out the usage in the toolbar it works. Also works if not using svg and png in the same QIcon.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: