diff src/mainwindow.h @ 506:470829a21f98

Identify closed branches and display them in a lighter shade
author Chris Cannam
date Mon, 17 Oct 2011 22:08:05 +0100
parents 41a156d439d0
children 306a62fe851e
line wrap: on
line diff
--- a/src/mainwindow.h	Mon Oct 17 16:25:02 2011 +0100
+++ b/src/mainwindow.h	Mon Oct 17 22:08:05 2011 +0100
@@ -121,6 +121,7 @@
 
 private:
     void hgQueryBranch();
+    void hgQueryHeadsActive();
     void hgQueryHeads();
     void hgQueryParents();
     void hgLog();
@@ -178,6 +179,8 @@
     void suspendFileSystemWatcher();
     void restoreFileSystemWatcher();
 
+    void updateClosedHeads();
+
     void updateWorkFolderAndRepoNames();
 
     WorkStatusWidget *m_workStatus;
@@ -187,6 +190,8 @@
     QString m_workFolderPath;
     QString m_currentBranch;
     Changesets m_currentHeads;
+    Changesets m_activeHeads;
+    QSet<QString> m_closedHeadIds;
     Changesets m_currentParents;
     int m_commitsSincePush;
     bool m_stateUnknown;