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