aboutsummaryrefslogtreecommitdiffstats
path: root/src/quickcontrols2/qquickproxytheme.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/quickcontrols2/qquickproxytheme.cpp')
-rw-r--r--src/quickcontrols2/qquickproxytheme.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/quickcontrols2/qquickproxytheme.cpp b/src/quickcontrols2/qquickproxytheme.cpp
index da4f2a2e..3791bb06 100644
--- a/src/quickcontrols2/qquickproxytheme.cpp
+++ b/src/quickcontrols2/qquickproxytheme.cpp
@@ -137,11 +137,11 @@ QPixmap QQuickProxyTheme::standardPixmap(QPlatformTheme::StandardPixmap sp, cons
return QPlatformTheme::standardPixmap(sp, size);
}
-QPixmap QQuickProxyTheme::fileIconPixmap(const QFileInfo &fileInfo, const QSizeF &size, QPlatformTheme::IconOptions iconOptions) const
+QIcon QQuickProxyTheme::fileIcon(const QFileInfo &fileInfo, QPlatformTheme::IconOptions iconOptions) const
{
if (m_theme)
- return m_theme->fileIconPixmap(fileInfo, size, iconOptions);
- return QPlatformTheme::fileIconPixmap(fileInfo, size, iconOptions);
+ return m_theme->fileIcon(fileInfo, iconOptions);
+ return QPlatformTheme::fileIcon(fileInfo, iconOptions);
}
QIconEngine *QQuickProxyTheme::createIconEngine(const QString &iconName) const