Autotest: Move "sort alphabetically" icon to utils

Make it available for others.

Change-Id: I2f167b82127ea7142b8185f0ec0402f1d054d06c
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Alessandro Portale
2019-04-04 14:33:08 +02:00
parent 9970861060
commit 177aeaaf35
9 changed files with 8 additions and 6 deletions

View File

@@ -237,7 +237,7 @@ void TestNavigationWidget::onItemActivated(const QModelIndex &index)
void TestNavigationWidget::onSortClicked()
{
if (m_sortAlphabetically) {
m_sort->setIcon(Icons::SORT_ALPHABETICALLY.icon());
m_sort->setIcon(Utils::Icons::SORT_ALPHABETICALLY_TOOLBAR.icon());
m_sort->setToolTip(tr("Sort Alphabetically"));
m_sortFilterModel->setSortMode(TestTreeItem::Naturally);
} else {