On 29/09/15 08:51, Hamish Moffatt wrote: > On 29/09/15 16:27, Julius Bullinger wrote: >> They are only used where I explicitly requested the @2x icon. Maybe I >> misunderstand the whole thing, but I was under the impression that the >> i...@2x.png file should be used transparently if icon.png is requested in a >> High DPI case. >> >> So, I expected _both_ lower buttons to use the same i...@2x.png, even though >> it's only explicitly set in one of those. >> >> Otherwise, what would be the advantage of using @2x icons if I had to >> manually distinguish between high and low DPR anyway? > Oh - QIcon does do that, but QPixmap does not.
Ah, so I misunderstood the documentation. Switching to QIcon loads the correct @2x icon. Thank you very much! Best Regards, Julius _______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest