forked from qt-creator/qt-creator
ResourceEditor: Fix compiler warning about unused variable
iconProvider() is a static method. Change-Id: I4c17a3890207ac4906a236894a6a032413b1e060 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user