| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -248,7 +248,7 @@ DevicePanel::DevicePanel(SettingsWindow *parent) : ListWidget(parent) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  addItem(translateBtn); | 
					 | 
					 | 
					 | 
					  addItem(translateBtn); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  QObject::connect(uiState(), &UIState::primeTypeChanged, [this] (PrimeType type) { | 
					 | 
					 | 
					 | 
					  QObject::connect(uiState(), &UIState::primeTypeChanged, [this] (PrimeType type) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    pair_device->setVisible(type == PrimeType::UNPAIRED); | 
					 | 
					 | 
					 | 
					    pair_device->setVisible(type == PrimeType::PRIME_TYPE_UNPAIRED); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  }); | 
					 | 
					 | 
					 | 
					  }); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  QObject::connect(uiState(), &UIState::offroadTransition, [=](bool offroad) { | 
					 | 
					 | 
					 | 
					  QObject::connect(uiState(), &UIState::offroadTransition, [=](bool offroad) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    for (auto btn : findChildren<ButtonControl *>()) { | 
					 | 
					 | 
					 | 
					    for (auto btn : findChildren<ButtonControl *>()) { | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -336,7 +336,7 @@ void DevicePanel::poweroff() { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					void DevicePanel::showEvent(QShowEvent *event) { | 
					 | 
					 | 
					 | 
					void DevicePanel::showEvent(QShowEvent *event) { | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  pair_device->setVisible(uiState()->primeType() == PrimeType::UNPAIRED); | 
					 | 
					 | 
					 | 
					  pair_device->setVisible(uiState()->primeType() == PrimeType::PRIME_TYPE_UNPAIRED); | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ListWidget::showEvent(event); | 
					 | 
					 | 
					 | 
					  ListWidget::showEvent(event); | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					} | 
					 | 
					 | 
					 | 
					} | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |