|  |  |  | @ -144,6 +144,7 @@ HomeWindow::HomeWindow(QWidget* parent) : QWidget(parent) { | 
			
		
	
		
			
				
					|  |  |  |  |   layout->addWidget(home, 0, 0); | 
			
		
	
		
			
				
					|  |  |  |  |   QObject::connect(glWindow, SIGNAL(offroadTransition(bool)), this, SLOT(setVisibility(bool))); | 
			
		
	
		
			
				
					|  |  |  |  |   QObject::connect(glWindow, SIGNAL(offroadTransition(bool)), this, SIGNAL(offroadTransition(bool))); | 
			
		
	
		
			
				
					|  |  |  |  |   QObject::connect(glWindow, SIGNAL(screen_shutoff()), this, SIGNAL(closeSettings())); | 
			
		
	
		
			
				
					|  |  |  |  |   QObject::connect(this, SIGNAL(openSettings()), home, SLOT(refresh())); | 
			
		
	
		
			
				
					|  |  |  |  |   setLayout(layout); | 
			
		
	
		
			
				
					|  |  |  |  |   setStyleSheet(R"( | 
			
		
	
	
		
			
				
					|  |  |  | @ -241,8 +242,8 @@ void GLWindow::backlightUpdate() { | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   if (!ui_state.awake) { | 
			
		
	
		
			
				
					|  |  |  |  |     brightness = 0; | 
			
		
	
		
			
				
					|  |  |  |  |     emit screen_shutoff(); | 
			
		
	
		
			
				
					|  |  |  |  |   } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
		
			
				
					|  |  |  |  |   std::thread{set_backlight, brightness}.detach(); | 
			
		
	
		
			
				
					|  |  |  |  | } | 
			
		
	
		
			
				
					|  |  |  |  | 
 | 
			
		
	
	
		
			
				
					|  |  |  | 
 |