diff --git a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp index 68efd3e8e14..83684f0b5f0 100644 --- a/src/plugins/resourceeditor/qrceditor/resourcefile.cpp +++ b/src/plugins/resourceeditor/qrceditor/resourcefile.cpp @@ -577,8 +577,7 @@ ResourceModel::ResourceModel(const ResourceFile &resource_file, QObject *parent) // Only action that works for QListWidget and the like. setSupportedDragActions(Qt::CopyAction); - Core::FileIconProvider *iconProvider = Core::FileIconProvider::instance(); - m_prefixIcon = iconProvider->overlayIcon(QStyle::SP_DirIcon, + m_prefixIcon = Core::FileIconProvider::overlayIcon(QStyle::SP_DirIcon, QIcon(QLatin1String(":/resourceeditor/images/qt_qrc.png")), QSize(16, 16)); }