mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	DivePlotDataModel improvements
* Add missing improvements::diveId variable member to the initialize list. * Cleanup DivePlotDataModel::pInfo structure instead only one member. Signed-off-by: Boris Barbulovski <bbarbulovski@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									6ae870bd22
								
							
						
					
					
						commit
						38f0104d10
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -8,9 +8,9 @@ | ||||||
| #include "divelist.h" | #include "divelist.h" | ||||||
| #include <QDebug> | #include <QDebug> | ||||||
| 
 | 
 | ||||||
| DivePlotDataModel::DivePlotDataModel(QObject* parent): QAbstractTableModel(parent) | DivePlotDataModel::DivePlotDataModel(QObject* parent) : QAbstractTableModel(parent) , diveId(0) | ||||||
| { | { | ||||||
| 	pInfo.nr = 0; | 	memset(&pInfo, 0, sizeof(pInfo)); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| int DivePlotDataModel::columnCount(const QModelIndex& parent) const | int DivePlotDataModel::columnCount(const QModelIndex& parent) const | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue