forked from qt-creator/qt-creator
AutoTest: More separation of test tree item and model
Change-Id: Icb096a1af749e74a3f47bc5235a4c0f0c2ce6023 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
@@ -200,11 +200,11 @@ void TestNavigationWidget::onSortClicked()
|
||||
if (m_sortAlphabetically) {
|
||||
m_sort->setIcon(Icons::SORT_ALPHABETICALLY.icon());
|
||||
m_sort->setToolTip(tr("Sort Alphabetically"));
|
||||
m_sortFilterModel->setSortMode(TestTreeSortFilterModel::Naturally);
|
||||
m_sortFilterModel->setSortMode(TestTreeItem::Naturally);
|
||||
} else {
|
||||
m_sort->setIcon(Icons::SORT_NATURALLY.icon());
|
||||
m_sort->setToolTip(tr("Sort Naturally"));
|
||||
m_sortFilterModel->setSortMode(TestTreeSortFilterModel::Alphabetically);
|
||||
m_sortFilterModel->setSortMode(TestTreeItem::Alphabetically);
|
||||
}
|
||||
m_sortAlphabetically = !m_sortAlphabetically;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user