Use text instead of icons for todo scanning scope buttons.

Those icons were initially introduced as stubs and are not
so much informative.

Change-Id: Ib990ef36f41e1094d024c91d2f873728a971d1fa
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
Dmitry Savchenko
2012-12-22 22:41:42 +03:00
parent b3c82d3afb
commit 95c410f145
5 changed files with 2 additions and 8 deletions

View File

@@ -187,13 +187,13 @@ void TodoOutputPane::freeTreeView()
void TodoOutputPane::createScopeButtons()
{
m_currentFileButton = new QToolButton();
m_currentFileButton->setIcon(QIcon(QLatin1String(Constants::ICON_CURRENT_FILE)));
m_currentFileButton->setCheckable(true);
m_currentFileButton->setText(tr("Current File"));
m_currentFileButton->setToolTip(tr("Scan in the current opened file"));
m_wholeProjectButton = new QToolButton();
m_wholeProjectButton->setIcon(QIcon(QLatin1String(Constants::ICON_WHOLE_PROJECT)));
m_wholeProjectButton->setCheckable(true);
m_wholeProjectButton->setText(tr("Whole Project"));
m_wholeProjectButton->setToolTip(tr("Scan in the whole project"));
m_scopeButtons = new QButtonGroup();