diff src/changesetitem.h @ 510:c623ce6b3104

Refactor: make closed a changeset property (not a changeset item one)
author Chris Cannam
date Tue, 18 Oct 2011 11:30:00 +0100
parents c43880dfdb78
children 306a62fe851e
line wrap: on
line diff
--- a/src/changesetitem.h	Tue Oct 18 11:21:20 2011 +0100
+++ b/src/changesetitem.h	Tue Oct 18 11:30:00 2011 +0100
@@ -52,8 +52,7 @@
     void setCurrent(bool c) { m_current = c; }
 
     // Closed is true if this changeset is on a closed branch
-    bool isClosed() const { return m_closed; }
-    void setClosed(bool c) { m_closed = c; }
+    bool isClosed() const;
 
     // Closing is true if this changeset is the commit that closed its
     // branch (i.e. is at the end of a closed branch)
@@ -107,7 +106,6 @@
     int m_row;
     bool m_wide;
     bool m_current;
-    bool m_closed;
     bool m_closing;
     bool m_new;