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:
@@ -31,6 +31,8 @@
|
||||
#include "../gitclient.h"
|
||||
#include "../gitconstants.h"
|
||||
|
||||
#include <utils/icon.h>
|
||||
|
||||
#include <QDateTime>
|
||||
#include <QDir>
|
||||
#include <QPushButton>
|
||||
@@ -45,7 +47,7 @@ class PushItemDelegate : public IconItemDelegate
|
||||
{
|
||||
public:
|
||||
PushItemDelegate(LogChangeWidget *widget)
|
||||
: IconItemDelegate(widget, ":/git/images/arrowup.png")
|
||||
: IconItemDelegate(widget, Utils::Icon(":/git/images/arrowup.png"))
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user