diff src/changesetitem.h @ 600:641ccce7c771

Avoid messing with font size when zooming, let it zoom naturally; don't delete detail item when removing it, just let it wait to be shown again (and do delete it when deleting main item)
author Chris Cannam
date Fri, 11 May 2012 17:44:33 +0100
parents 1e76d1009167
children ae67ea0af696
line wrap: on
line diff
--- a/src/changesetitem.h	Tue Apr 24 16:56:29 2012 +0100
+++ b/src/changesetitem.h	Fri May 11 17:44:33 2012 +0100
@@ -33,6 +33,7 @@
 
 public:
     ChangesetItem(Changeset *cs);
+    ~ChangesetItem();
 
     virtual QRectF boundingRect() const;
     virtual void paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *);
@@ -105,6 +106,7 @@
     QFont m_font;
     Changeset *m_changeset;
     ChangesetDetailItem *m_detail;
+    bool m_detailVisible;
     bool m_showBranch;
     int m_column;
     int m_row;