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>bb10
parent
d8426aa18e
commit
cc4f610c21
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue