Commit 6056c3e1 authored by Robert Loehning's avatar Robert Loehning
Browse files

Cleaned up calls to parent class's functions

parent 740717f0
...@@ -148,16 +148,6 @@ QIcon FileIconProvider::icon(const QFileInfo &fileInfo) const ...@@ -148,16 +148,6 @@ QIcon FileIconProvider::icon(const QFileInfo &fileInfo) const
#endif #endif
} }
QIcon FileIconProvider::icon(IconType type) const
{
return QFileIconProvider::icon(type);
}
QString FileIconProvider::type(const QFileInfo &info) const
{
return QFileIconProvider::type(info);
}
/*! /*!
Creates a pixmap with baseicon at size and overlays overlayIcon over it. Creates a pixmap with baseicon at size and overlays overlayIcon over it.
See platform note in class documentation about recommended usage. See platform note in class documentation about recommended usage.
......
...@@ -56,9 +56,8 @@ public: ...@@ -56,9 +56,8 @@ public:
virtual ~FileIconProvider(); virtual ~FileIconProvider();
// Implement QFileIconProvider // Implement QFileIconProvider
virtual QIcon icon(IconType type) const;
virtual QIcon icon(const QFileInfo &info) const; virtual QIcon icon(const QFileInfo &info) const;
virtual QString type(const QFileInfo &info) const; using QFileIconProvider::icon;
// Register additional overlay icons // Register additional overlay icons
static QPixmap overlayIcon(QStyle::StandardPixmap baseIcon, const QIcon &overlayIcon, const QSize &size); static QPixmap overlayIcon(QStyle::StandardPixmap baseIcon, const QIcon &overlayIcon, const QSize &size);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment