diff historywidget.h @ 134:1208d9688a8f

* Have a go at switching to new items in history widget when something happens in repo
author Chris Cannam
date Tue, 30 Nov 2010 13:07:53 +0000
parents aaeab914f2a3
children e6c6b88d19b9
line wrap: on
line diff
--- a/historywidget.h	Tue Nov 30 12:45:34 2010 +0000
+++ b/historywidget.h	Tue Nov 30 13:07:53 2010 +0000
@@ -40,12 +40,15 @@
 
     void parseNewLog(QString log);
     void parseIncrementalLog(QString log);
+
+    bool haveNewItems() const { return !m_newIds.empty(); }
     
 private:
     Changesets m_changesets;
     QStringList m_currentIds;
     QSet<QString> m_newIds;
     UncommittedItem *m_uncommitted;
+    bool m_uncommittedVisible;
 
     Panned *m_panned;
     Panner *m_panner;