Add Q_UNUSED to avoid compilation errors
Variable unused causes compile error or warning, use Q_UNUSED to eliminate it. Change-Id: I6efbc3150cef962fa45ccbbed0dc04794db3cbbe Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@qt.io>
This commit is contained in:
parent
cc60d70699
commit
1f4a085df5
@ -254,6 +254,7 @@ const QFont *QGtk3Theme::font(Font type) const
|
|||||||
QIcon QGtk3Theme::fileIcon(const QFileInfo &fileInfo,
|
QIcon QGtk3Theme::fileIcon(const QFileInfo &fileInfo,
|
||||||
QPlatformTheme::IconOptions iconOptions) const
|
QPlatformTheme::IconOptions iconOptions) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(iconOptions);
|
||||||
Q_ASSERT(m_storage);
|
Q_ASSERT(m_storage);
|
||||||
return m_storage->fileIcon(fileInfo);
|
return m_storage->fileIcon(fileInfo);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user