mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Don't round range for DoubleSpinBoxDelegate to int
This fixes simple copy-paste error that the DoubleSpinBoxDelegate range was stored as int, thus rounding min value from 0.2 to 0. Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									7ce9eb28ee
								
							
						
					
					
						commit
						dcb580ed46
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -104,8 +104,8 @@ public: | |||
| 	DoubleSpinBoxDelegate(qreal min, qreal max, QObject *parent = 0); | ||||
| 	virtual QWidget *createEditor(QWidget *parent, const QStyleOptionViewItem &option, const QModelIndex &index) const; | ||||
| private: | ||||
| 	int min; | ||||
| 	int max; | ||||
| 	qreal min; | ||||
| 	qreal max; | ||||
| }; | ||||
| 
 | ||||
| #endif // MODELDELEGATES_H
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue