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:
Tang Haixiang 2022-12-22 15:02:41 +08:00
parent cc60d70699
commit 1f4a085df5

View File

@ -254,6 +254,7 @@ const QFont *QGtk3Theme::font(Font type) const
QIcon QGtk3Theme::fileIcon(const QFileInfo &fileInfo,
QPlatformTheme::IconOptions iconOptions) const
{
Q_UNUSED(iconOptions);
Q_ASSERT(m_storage);
return m_storage->fileIcon(fileInfo);
}