diff options
author | Nikita Krupenko <krnekit@gmail.com> | 2017-03-23 22:14:45 +0200 |
---|---|---|
committer | Stephan Binner <stephan.binner@basyskom.com> | 2017-03-29 20:06:18 +0000 |
commit | cc4f610c2137e58ecdbb852b799a7535b81793a1 (patch) | |
tree | 8ef40b46c0e9914f5bb22cea6bf14a7f70be835d /src | |
parent | d8426aa18eb4f80dc9a5d64f7b73697d4773b4d2 (diff) |
Fix warnings for -no-feature-mimetype
Change-Id: I6b1239941f8fd13eec72b0874d15d821d717ddf3
Reviewed-by: Stephan Binner <stephan.binner@basyskom.com>
Reviewed-by: Paul Olav Tvete <paul.tvete@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/platformsupport/themes/genericunix/qgenericunixthemes.cpp | 2 |
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 } |