Mercurial > hg > easyhg
comparison src/hgtabwidget.cpp @ 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 | 38c84c66ad7a |
comparison
equal
deleted
inserted
replaced
607:d35ed7488ccd | 608:6f90bb52eee6 |
---|---|
142 void HgTabWidget::setClosedHeadIds(QSet<QString> closed) | 142 void HgTabWidget::setClosedHeadIds(QSet<QString> closed) |
143 { | 143 { |
144 m_historyWidget->setClosedHeadIds(closed); | 144 m_historyWidget->setClosedHeadIds(closed); |
145 } | 145 } |
146 | 146 |
147 void HgTabWidget::clearAll() | |
148 { | |
149 m_fileStatusWidget->clearWidgets(); | |
150 m_historyWidget->clear(); | |
151 } | |
152 | |
147 void HgTabWidget::updateFileStates() | 153 void HgTabWidget::updateFileStates() |
148 { | 154 { |
149 m_fileStatusWidget->updateWidgets(); | 155 m_fileStatusWidget->updateWidgets(); |
150 } | 156 } |
151 | 157 |