mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-05-04 15:57:59 +03:00
Continued migration of code to ContentSelector
This commit is contained in:
parent
0087b0d67c
commit
b24dd5c6ac
7 changed files with 17 additions and 185 deletions
|
@ -4,8 +4,9 @@
|
|||
PluginsProxyModel::PluginsProxyModel(QObject *parent, DataFilesModel *model) :
|
||||
QSortFilterProxyModel(parent), mSourceModel (model)
|
||||
{
|
||||
setFilterRegExp(QString("addon"));
|
||||
setFilterRegExp (QString("addon"));
|
||||
setFilterRole (Qt::UserRole);
|
||||
setDynamicSortFilter (true);
|
||||
|
||||
if (model)
|
||||
setSourceModel (model);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue