1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-08 18:39:29 +00:00

use case-insensitive sorting in columns

This commit is contained in:
Marc Zinnschlag 2014-02-13 15:01:10 +01:00
parent d73097c2e4
commit e9238b456d

View File

@ -33,7 +33,9 @@ bool CSMWorld::IdTableProxyModel::filterAcceptsRow (int sourceRow, const QModelI
CSMWorld::IdTableProxyModel::IdTableProxyModel (QObject *parent)
: QSortFilterProxyModel (parent)
{}
{
setSortCaseSensitivity (Qt::CaseInsensitive);
}
QModelIndex CSMWorld::IdTableProxyModel::getModelIndex (const std::string& id, int column) const
{