This commit is contained in:
Maijin 2017-12-26 14:40:12 +01:00
parent 3d617fef06
commit 0ebd34370b

View File

@ -87,6 +87,8 @@ StringsSortFilterProxyModel::StringsSortFilterProxyModel(StringsModel *source_mo
: QSortFilterProxyModel(parent)
{
setSourceModel(source_model);
setFilterCaseSensitivity(Qt::CaseInsensitive);
setSortCaseSensitivity(Qt::CaseInsensitive);
}
bool StringsSortFilterProxyModel::filterAcceptsRow(int row, const QModelIndex &parent) const