summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/platformsupport/themes/genericunix/qgenericunixthemes.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
index 4eefcace0f..e9116223bd 100644
--- a/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
+++ b/src/platformsupport/themes/genericunix/qgenericunixthemes.cpp
@@ -555,6 +555,7 @@ QIcon QKdeTheme::fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions
#if QT_CONFIG(mimetype)
return xdgFileIcon(fileInfo);
#else
+ Q_UNUSED(fileInfo);
return QIcon();
#endif
}
@@ -720,6 +721,7 @@ QIcon QGnomeTheme::fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptio
#if QT_CONFIG(mimetype)
return xdgFileIcon(fileInfo);
#else
+ Q_UNUSED(fileInfo);
return QIcon();
#endif
}