Commit 655962a2 authored by Kai Koehne's avatar Kai Koehne
Browse files

ResourceEditor: Fix compiler warning about unused variable



iconProvider() is a static method.

Change-Id: I4c17a3890207ac4906a236894a6a032413b1e060
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 7b5745c5
...@@ -577,8 +577,7 @@ ResourceModel::ResourceModel(const ResourceFile &resource_file, QObject *parent) ...@@ -577,8 +577,7 @@ ResourceModel::ResourceModel(const ResourceFile &resource_file, QObject *parent)
// Only action that works for QListWidget and the like. // Only action that works for QListWidget and the like.
setSupportedDragActions(Qt::CopyAction); setSupportedDragActions(Qt::CopyAction);
Core::FileIconProvider *iconProvider = Core::FileIconProvider::instance(); m_prefixIcon = Core::FileIconProvider::overlayIcon(QStyle::SP_DirIcon,
m_prefixIcon = iconProvider->overlayIcon(QStyle::SP_DirIcon,
QIcon(QLatin1String(":/resourceeditor/images/qt_qrc.png")), QSize(16, 16)); QIcon(QLatin1String(":/resourceeditor/images/qt_qrc.png")), QSize(16, 16));
} }
......
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