From 655962a2c3f295d63456495069857bffec6a2210 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Tue, 21 Aug 2012 11:07:37 +0200 Subject: [PATCH] ResourceEditor: Fix compiler warning about unused variable iconProvider() is a static method. Change-Id: I4c17a3890207ac4906a236894a6a032413b1e060 Reviewed-by: Friedemann Kleint --- src/plugins/resourceeditor/qrceditor/resourcefile.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)); }