mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-06 20:04:45 +00:00
Added comment
This commit is contained in:
parent
55aa6c36ee
commit
3adc58bb87
@ -73,6 +73,10 @@ void IconProvider::useSystemIconTheme(bool enable)
|
|||||||
m_useSystemTheme = enable;
|
m_useSystemTheme = enable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Makes sure the icon is at least available in 16px and 24px size
|
||||||
|
// It scales the icon from the theme if necessary
|
||||||
|
// Otherwise, the UI looks broken if the icon is not available
|
||||||
|
// in the correct size.
|
||||||
QIcon IconProvider::generateDifferentSizes(const QIcon &icon)
|
QIcon IconProvider::generateDifferentSizes(const QIcon &icon)
|
||||||
{
|
{
|
||||||
QIcon new_icon;
|
QIcon new_icon;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user