mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Silence warnings in diveplotdatamodel.cpp
Signed-off-by: Tomaz Canabrava <tomaz.canabrava@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									6c6e1ce6ff
								
							
						
					
					
						commit
						554b3fe630
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -14,6 +14,7 @@ DivePlotDataModel::DivePlotDataModel(QObject *parent) : | ||||||
| 
 | 
 | ||||||
| int DivePlotDataModel::columnCount(const QModelIndex &parent) const | int DivePlotDataModel::columnCount(const QModelIndex &parent) const | ||||||
| { | { | ||||||
|  | 	Q_UNUSED(parent); | ||||||
| 	return COLUMNS; | 	return COLUMNS; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | @ -96,6 +97,7 @@ const plot_info &DivePlotDataModel::data() const | ||||||
| 
 | 
 | ||||||
| int DivePlotDataModel::rowCount(const QModelIndex &parent) const | int DivePlotDataModel::rowCount(const QModelIndex &parent) const | ||||||
| { | { | ||||||
|  | 	Q_UNUSED(parent); | ||||||
| 	return pInfo.nr; | 	return pInfo.nr; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue