Qt: Scale down custom icon pixmaps

Don't want it going outside of the control bounds.
This commit is contained in:
Stenzek
2024-07-14 13:03:10 +10:00
parent fd0626aa6d
commit 594962d247
2 changed files with 23 additions and 2 deletions

View File

@@ -105,6 +105,7 @@ private:
void invalidateCoverForPath(const std::string& path);
const QPixmap& getIconPixmapForEntry(const GameList::Entry* ge) const;
static void fixIconPixmapSize(QPixmap& pm);
static QString formatTimespan(time_t timespan);