fix compiling tdesktop with -DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION=ON
This commit is contained in:
		
							parent
							
								
									98c7979e67
								
							
						
					
					
						commit
						7f15ac5f0e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
					@ -17,6 +17,8 @@ struct WaylandIntegration::Private {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WaylandIntegration::WaylandIntegration() {
 | 
					WaylandIntegration::WaylandIntegration() {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
						
 | 
				
			||||||
 | 
					WaylandIntegration::~WaylandIntegration() = default;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
WaylandIntegration *WaylandIntegration::Instance() {
 | 
					WaylandIntegration *WaylandIntegration::Instance() {
 | 
				
			||||||
	if (!::Platform::IsWayland()) return nullptr;
 | 
						if (!::Platform::IsWayland()) return nullptr;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue