mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Dive d/l selection UI: Hook up OK button
Create an on_ok_clicked that will do the actuall parsing of choosen dives. Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									09d6d4f5de
								
							
						
					
					
						commit
						25323c2717
					
				
					 2 changed files with 5 additions and 4 deletions
				
			
		|  | @ -402,8 +402,9 @@ void DownloadFromDCWidget::onDownloadThreadFinished() | |||
| 		updateState(CANCELLED); | ||||
| 	} | ||||
| } | ||||
| /*
 | ||||
|  * This needs to get moved somewhere else. | ||||
| 
 | ||||
| void DownloadFromDCWidget::on_ok_clicked() | ||||
| { | ||||
| 	int uniqId, idx; | ||||
| 	// remember the last downloaded dive (on most dive computers this will be the chronologically
 | ||||
| 	// first new dive) and select it again after processing all the dives
 | ||||
|  | @ -421,8 +422,7 @@ void DownloadFromDCWidget::onDownloadThreadFinished() | |||
| 	QString dcName = data.devname; | ||||
| 	if (ostcFirmwareCheck && currentState == DONE) | ||||
| 		ostcFirmwareCheck->checkLatest(this, &data); | ||||
| 
 | ||||
| */ | ||||
| } | ||||
| 
 | ||||
| void DownloadFromDCWidget::markChildrenAsDisabled() | ||||
| { | ||||
|  |  | |||
|  | @ -60,6 +60,7 @@ public: | |||
| public | ||||
| slots: | ||||
| 	void on_startDownload_clicked(); | ||||
| 	void on_ok_clicked(); | ||||
| 	void on_cancel_clicked(); | ||||
| 	void on_search_clicked(); | ||||
| 	void on_vendor_currentIndexChanged(const QString &vendor); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue