mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	QML UI: don't mangle 'USB device' as device name
We do strip the user friendly name from BT addresses and this mistakenly mangled 'USB device' to 'device'. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									1a7ada5a90
								
							
						
					
					
						commit
						40ecb179a3
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -189,7 +189,8 @@ Kirigami.Page {
 | 
			
		|||
					text = qsTr("Retry")
 | 
			
		||||
					// strip any BT Name from the address
 | 
			
		||||
					var devName = manager.DC_devName
 | 
			
		||||
					manager.DC_devName = devName.replace(/^(.*) /, "")
 | 
			
		||||
					if (devName != qsTr("USB device"))
 | 
			
		||||
						manager.DC_devName = devName.replace(/^(.*) /, "")
 | 
			
		||||
					manager.appendTextToLog("DCDownloadThread started for " + manager.DC_vendor + " " + manager.DC_product + " on "+ manager.DC_devName)
 | 
			
		||||
					progressBar.visible = true
 | 
			
		||||
					downloadThread.start()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue