comparison src/hgtabwidget.cpp @ 484:896b7903e8f2

Make "Show all files" persistent (fixing #203), and rationalise some config group names (noting that "General" is actually the default group "" as it appears in the config file, not the name of a group called "General": that appears as "%General")
author Chris Cannam
date Wed, 17 Aug 2011 16:09:04 +0100
parents ad106f5fe75f
children 1c05e7576ea5
comparison
equal deleted inserted replaced
483:a582c6417004 484:896b7903e8f2
35 m_fileStatusWidget->setLocalPath(workFolderPath); 35 m_fileStatusWidget->setLocalPath(workFolderPath);
36 36
37 connect(m_fileStatusWidget, SIGNAL(selectionChanged()), 37 connect(m_fileStatusWidget, SIGNAL(selectionChanged()),
38 this, SIGNAL(selectionChanged())); 38 this, SIGNAL(selectionChanged()));
39 39
40 connect(m_fileStatusWidget, SIGNAL(showAllChanged(bool)), 40 connect(m_fileStatusWidget, SIGNAL(showAllChanged()),
41 this, SIGNAL(showAllChanged(bool))); 41 this, SIGNAL(showAllChanged()));
42 42
43 connect(m_fileStatusWidget, SIGNAL(annotateFiles(QStringList)), 43 connect(m_fileStatusWidget, SIGNAL(annotateFiles(QStringList)),
44 this, SIGNAL(annotateFiles(QStringList))); 44 this, SIGNAL(annotateFiles(QStringList)));
45 45
46 connect(m_fileStatusWidget, SIGNAL(diffFiles(QStringList)), 46 connect(m_fileStatusWidget, SIGNAL(diffFiles(QStringList)),
266 void HgTabWidget::showHistoryTab() 266 void HgTabWidget::showHistoryTab()
267 { 267 {
268 setCurrentWidget(m_historyWidget); 268 setCurrentWidget(m_historyWidget);
269 } 269 }
270 270
271 bool HgTabWidget::shouldShowAll() const
272 {
273 return m_fileStatusWidget->shouldShowAll();
274 }
275