pyapp-kit / superqt

Missing widgets and components for Qt-python
https://pyapp-kit.github.io/superqt/
BSD 3-Clause "New" or "Revised" License
215 stars 38 forks source link

fix: catch qpixmap deprecation #99

Closed tlambert03 closed 2 years ago

tlambert03 commented 2 years ago

Catches and ignores a (buggy) deprecation warning about QPixmapCache.find.

This was seemingly temporarily deprecated: https://doc.qt.io/qt-5/qpixmapcache-obsolete.html ... but it's back and undeprecated in Qt6. see also https://stackoverflow.com/questions/57484593/how-to-fix-pyside2-qpixmapcache-find-deprecationwarning

codecov[bot] commented 2 years ago

Codecov Report

Merging #99 (597b3f5) into main (55535b7) will increase coverage by 0.01%. The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #99      +/-   ##
==========================================
+ Coverage   84.89%   84.90%   +0.01%     
==========================================
  Files          30       30              
  Lines        2383     2385       +2     
==========================================
+ Hits         2023     2025       +2     
  Misses        360      360              
Impacted Files Coverage Δ
src/superqt/fonticon/_qfont_icon.py 93.47% <100.00%> (+0.04%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 55535b7...597b3f5. Read the comment docs.