mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 08:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			441 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#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;
 | 
						|
}
 |