forked from qt-creator/qt-creator
Git: Use Utils::Icon for IconItemDelegate constructor
Use our icon abstraction instead of file names, because themed icons are coming. Change-Id: I0f4e44caf96aeab0c354d2166b111d59b7b29149 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <utils/icon.h>
|
||||
#include <utils/itemviews.h>
|
||||
|
||||
#include <QDialog>
|
||||
@@ -114,7 +115,7 @@ private:
|
||||
class IconItemDelegate : public LogItemDelegate
|
||||
{
|
||||
public:
|
||||
IconItemDelegate(LogChangeWidget *widget, const QString &icon);
|
||||
IconItemDelegate(LogChangeWidget *widget, const Utils::Icon &icon);
|
||||
|
||||
virtual bool hasIcon(int row) const = 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user