mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Remove dead code.
This code used to trigger the edit mode a long time ago since now I'm re-reading the code to implement the same stuff on the Location edit mode, I realized that this is not needed anymore. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									53d20f5b8a
								
							
						
					
					
						commit
						a5448ef729
					
				
					 1 changed files with 0 additions and 14 deletions
				
			
		|  | @ -71,20 +71,6 @@ MainTab::MainTab(QWidget *parent) : QTabWidget(parent), | |||
| 	// filled from a dive, they are made writeable
 | ||||
| 	setEnabled(false); | ||||
| 
 | ||||
| 	ui.location->installEventFilter(this); | ||||
| 	ui.divemaster->installEventFilter(this); | ||||
| 	ui.buddy->installEventFilter(this); | ||||
| 	ui.suit->installEventFilter(this); | ||||
| 	ui.notes->viewport()->installEventFilter(this); | ||||
| 	ui.rating->installEventFilter(this); | ||||
| 	ui.visibility->installEventFilter(this); | ||||
| 	ui.airtemp->installEventFilter(this); | ||||
| 	ui.watertemp->installEventFilter(this); | ||||
| 	ui.dateEdit->installEventFilter(this); | ||||
| 	ui.timeEdit->installEventFilter(this); | ||||
| 	ui.tagWidget->installEventFilter(this); | ||||
| 	ui.DiveType->installEventFilter(this); | ||||
| 
 | ||||
| 	Q_FOREACH (QObject *obj, ui.statisticsTab->children()) { | ||||
| 		QLabel *label = qobject_cast<QLabel *>(obj); | ||||
| 		if (label) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue