mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 22:47:21 -06:00
Provide scaled pixmaps by UIThemeManager
Avoid leaking the paths of the theme resource files outside of the theme support implementation. PR #18269.
This commit is contained in:
committed by
GitHub
parent
43e059801e
commit
53cec6db09
@@ -42,7 +42,6 @@ namespace Utils::Gui
|
||||
|
||||
QPixmap scaledPixmap(const QIcon &icon, const QWidget *widget, int height);
|
||||
QPixmap scaledPixmap(const Path &path, const QWidget *widget, int height = 0);
|
||||
QPixmap scaledPixmapSvg(const Path &path, const QWidget *widget, int height);
|
||||
|
||||
QSize smallIconSize(const QWidget *widget = nullptr);
|
||||
QSize mediumIconSize(const QWidget *widget = nullptr);
|
||||
|
||||
Reference in New Issue
Block a user