mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-30 05:47:57 +03:00
Imported Upstream version 0.26.0
This commit is contained in:
commit
9a2b6c69b6
1398 changed files with 212217 additions and 0 deletions
17
components/fileorderlist/model/pluginsproxymodel.cpp
Normal file
17
components/fileorderlist/model/pluginsproxymodel.cpp
Normal file
|
@ -0,0 +1,17 @@
|
|||
#include "pluginsproxymodel.hpp"
|
||||
|
||||
PluginsProxyModel::PluginsProxyModel(QObject *parent) :
|
||||
QSortFilterProxyModel(parent)
|
||||
{
|
||||
}
|
||||
|
||||
PluginsProxyModel::~PluginsProxyModel()
|
||||
{
|
||||
}
|
||||
|
||||
QVariant PluginsProxyModel::headerData(int section, Qt::Orientation orientation, int role) const
|
||||
{
|
||||
if (orientation != Qt::Vertical || role != Qt::DisplayRole)
|
||||
return QSortFilterProxyModel::headerData(section, orientation, role);
|
||||
return section + 1;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue