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);
return icon;
}
#else
Q_UNUSED(fallback)
#endif
return QIcon(IconProvider::getIconPath(iconId));
}