Browse Source

Fix unused variable warning by gcc.

adaptive-webui-19844
sledgehammer999 8 years ago
parent
commit
d880372b49
No known key found for this signature in database
GPG Key ID: 6E4A2D025B7CC9A2
  1. 2
      src/gui/guiiconprovider.cpp

2
src/gui/guiiconprovider.cpp

@ -71,6 +71,8 @@ QIcon GuiIconProvider::getIcon(const QString &iconId, const QString &fallback) @@ -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));
}

Loading…
Cancel
Save