Mercurial > hg > easyhg
diff src/historywidget.h @ 608:6f90bb52eee6
Clear history and file states while opening a new remote repo
author | Chris Cannam |
---|---|
date | Tue, 03 Jul 2012 12:12:42 +0100 |
parents | 533519ebc0cb |
children | ae67ea0af696 |
line wrap: on
line diff
--- a/src/historywidget.h Tue Jul 03 11:48:28 2012 +0100 +++ b/src/historywidget.h Tue Jul 03 12:12:42 2012 +0100 @@ -47,8 +47,6 @@ bool haveNewItems() const { return !m_newIds.empty(); } - void update(); - signals: void commit(); void revert(); @@ -72,7 +70,9 @@ public slots: void setSearchText(QString); - + void update(); + void clear(); + private: Changesets m_changesets; QStringList m_currentIds;