From d880372b4946f517cb6fea8c13eb88be4afda0b4 Mon Sep 17 00:00:00 2001 From: sledgehammer999 Date: Mon, 6 Feb 2017 01:20:31 +0200 Subject: [PATCH] Fix unused variable warning by gcc. --- src/gui/guiiconprovider.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gui/guiiconprovider.cpp b/src/gui/guiiconprovider.cpp index 2a7ab9cd9..1c58dd03c 100644 --- a/src/gui/guiiconprovider.cpp +++ b/src/gui/guiiconprovider.cpp @@ -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)); }