forked from qt-creator/qt-creator
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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user