mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Update the message shown on pairing erorrs
Advice the user to use his operating system for the pairing step if the remote device requires a custom PIN code. Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									5fd0c7dd43
								
							
						
					
					
						commit
						6608b4c7a9
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -272,7 +272,9 @@ void BtDeviceSelectionDialog::pairingFinished(const QBluetoothAddress &address, | ||||||
| void BtDeviceSelectionDialog::error(QBluetoothLocalDevice::Error error) | void BtDeviceSelectionDialog::error(QBluetoothLocalDevice::Error error) | ||||||
| { | { | ||||||
| 	ui->dialogStatus->setText(QString("Local device error: %1.") | 	ui->dialogStatus->setText(QString("Local device error: %1.") | ||||||
| 				  .arg((error == QBluetoothLocalDevice::PairingError)? "Pairing error" : "Unknown error")); | 				  .arg((error == QBluetoothLocalDevice::PairingError)? "Pairing error. If the remote device requires a custom PIN code, " | ||||||
|  | 										       "please try to pair the devices using your operating system. " | ||||||
|  | 										     : "Unknown error")); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| void BtDeviceSelectionDialog::deviceDiscoveryError(QBluetoothDeviceDiscoveryAgent::Error error) | void BtDeviceSelectionDialog::deviceDiscoveryError(QBluetoothDeviceDiscoveryAgent::Error error) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue