mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Sort preview plugins case-insensitively
"eBook thumbnails" would show up all the way at the bottom otherwise Test Plan: 18.12 branch It now shows where it should Differential Revision: https://phabricator.kde.org/D18787
This commit is contained in:
parent
959439ec1b
commit
bf44548ad1
|
@ -61,6 +61,7 @@ PreviewsSettingsPage::PreviewsSettingsPage(QWidget* parent) :
|
|||
QSortFilterProxyModel* proxyModel = new QSortFilterProxyModel(this);
|
||||
proxyModel->setSourceModel(serviceModel);
|
||||
proxyModel->setSortRole(Qt::DisplayRole);
|
||||
proxyModel->setSortCaseSensitivity(Qt::CaseInsensitive);
|
||||
|
||||
m_listView->setModel(proxyModel);
|
||||
m_listView->setItemDelegate(delegate);
|
||||
|
|
Loading…
Reference in a new issue