Mercurial > hg > easyhg
diff src/changesetitem.h @ 390:ef31a55c86b6 item_appearance_adjustments
Add little yellow star to current item
author | Chris Cannam |
---|---|
date | Tue, 24 May 2011 17:21:31 +0100 |
parents | ce6a70970808 |
children | b1f0fa991c49 |
line wrap: on
line diff
--- a/src/changesetitem.h Tue May 24 16:54:24 2011 +0100 +++ b/src/changesetitem.h Tue May 24 17:21:31 2011 +0100 @@ -25,6 +25,7 @@ class ChangesetDetailItem; class QAction; +class QImage; class ChangesetItem : public QGraphicsObject { @@ -101,6 +102,8 @@ QMap<QAction *, QString> m_parentDiffActions; QMap<QAction *, QString> m_summaryActions; + static QImage *m_star; + bool isMerge() const; virtual void paintNormal(QPainter *); virtual void paintMerge(QPainter *);