1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-01-13 08:17:57 +00:00

Fix unused variable warning by gcc.

This commit is contained in:
sledgehammer999 2017-02-06 01:20:31 +02:00
parent fa8c69a5e1
commit d880372b49
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2

View File

@ -71,6 +71,8 @@ QIcon GuiIconProvider::getIcon(const QString &iconId, const QString &fallback)
icon = generateDifferentSizes(icon); icon = generateDifferentSizes(icon);
return icon; return icon;
} }
#else
Q_UNUSED(fallback)
#endif #endif
return QIcon(IconProvider::getIconPath(iconId)); return QIcon(IconProvider::getIconPath(iconId));
} }