mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Silence warnings in models.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									bba62fec82
								
							
						
					
					
						commit
						231f770e0c
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -26,6 +26,7 @@ const QPixmap &trashForbiddenIcon() | ||||||
| 
 | 
 | ||||||
| Qt::ItemFlags GasSelectionModel::flags(const QModelIndex &index) const | Qt::ItemFlags GasSelectionModel::flags(const QModelIndex &index) const | ||||||
| { | { | ||||||
|  | 	Q_UNUSED(index); | ||||||
| 	return Qt::ItemIsEnabled | Qt::ItemIsSelectable; | 	return Qt::ItemIsEnabled | Qt::ItemIsSelectable; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -94,5 +95,6 @@ QVariant LanguageModel::data(const QModelIndex &index, int role) const | ||||||
| 
 | 
 | ||||||
| int LanguageModel::rowCount(const QModelIndex &parent) const | int LanguageModel::rowCount(const QModelIndex &parent) const | ||||||
| { | { | ||||||
|  | 	Q_UNUSED(parent); | ||||||
| 	return languages.count(); | 	return languages.count(); | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue