Open fiveoverthree opened 3 weeks ago
This fixes #22
Due to the font getting loaded each time a node is created (I think), this created a lot of (unnecessary) duplicates in the QFontDatabase. This PR implements a cache for the Font, so it only has to be loaded once for a Theme.
This fixes #22
Due to the font getting loaded each time a node is created (I think), this created a lot of (unnecessary) duplicates in the QFontDatabase. This PR implements a cache for the Font, so it only has to be loaded once for a Theme.