forked from qt-creator/qt-creator
Git: Use initStyleOption instead of setting options in paint
Change-Id: Idc14c157478c7092fce7d688044cb0a99e47bebe Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a5375cbe32
commit
2d415c8228
@@ -102,8 +102,6 @@ protected:
|
||||
LogItemDelegate(LogChangeWidget *widget);
|
||||
|
||||
int currentRow() const;
|
||||
virtual void paint(QPainter *painter, const QStyleOptionViewItem &option,
|
||||
const QModelIndex &index) const = 0;
|
||||
|
||||
private:
|
||||
LogChangeWidget *m_widget;
|
||||
|
||||
Reference in New Issue
Block a user