diff historywidget.h @ 154:6bcb4a4d6521

* Try to reduce unnecessary history updates; add --new-branch option on push
author Chris Cannam
date Thu, 02 Dec 2010 18:04:21 +0000
parents 70fe12873106
children 4bad3c5c053a
line wrap: on
line diff
--- a/historywidget.h	Thu Dec 02 17:55:21 2010 +0000
+++ b/historywidget.h	Thu Dec 02 18:04:21 2010 +0000
@@ -43,6 +43,8 @@
 
     bool haveNewItems() const { return !m_newIds.empty(); }
 
+    void update();
+
 signals:
     void commit();
     void revert();
@@ -61,6 +63,7 @@
     QString m_currentBranch;
     QSet<QString> m_newIds;
     bool m_showUncommitted;
+    bool m_refreshNeeded;
 
     Panned *m_panned;
     Panner *m_panner;