mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Build fix for older Qt5
This breaks for example on Ubuntu Trusty. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									127f3b7da1
								
							
						
					
					
						commit
						33a7e5cd73
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -93,8 +93,10 @@ static int qt_serial_open(serial_t **out, dc_context_t *context, const char* dev
 | 
			
		|||
			return DC_STATUS_NODEVICE;
 | 
			
		||||
		case QBluetoothSocket::UnsupportedProtocolError:
 | 
			
		||||
			return DC_STATUS_PROTOCOL;
 | 
			
		||||
#if QT_VERSION >= 0x050400
 | 
			
		||||
		case QBluetoothSocket::OperationError:
 | 
			
		||||
			return DC_STATUS_UNSUPPORTED;
 | 
			
		||||
#endif
 | 
			
		||||
		case QBluetoothSocket::NetworkError:
 | 
			
		||||
			return DC_STATUS_IO;
 | 
			
		||||
		default:
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue