mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Remove the bogus time/depth, and fix the positioning of the Handler after updateTicks.
Remove the bogus time/depth that was duplicated in the Handler - dirk didn't realized that I already created the same data that he put on it later, but mine was double and his his was int, I choosed his implementation since he knows a bit more than I do about subsurface internals. Besides that, I worked a bit on the logic that called update ticks, because it was calling it for every mouseMoveEvent, it created sooooo many ticks that it made the app unusable ( and slow. ) Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
This commit is contained in:
		
							parent
							
								
									f3b04a88df
								
							
						
					
					
						commit
						03572e233d
					
				
					 2 changed files with 13 additions and 17 deletions
				
			
		|  | @ -20,8 +20,6 @@ public: | |||
| 	DiveHandler(); | ||||
| 	QGraphicsLineItem *from; | ||||
| 	QGraphicsLineItem *to; | ||||
| 	qreal time; | ||||
| 	qreal depth; | ||||
| 	int sec; | ||||
| 	int mm; | ||||
| }; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue