Add missing parenthesis
This is to make the compiler happier.
This commit is contained in:
		
							parent
							
								
									11a811061f
								
							
						
					
					
						commit
						efd32eed53
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -32,10 +32,10 @@ QWaylandLayerSurface::QWaylandLayerSurface(QWaylandLayerShell *shell, QtWaylandC
 | 
			
		|||
    setExclusiveZone(interface->exclusionZone());
 | 
			
		||||
 | 
			
		||||
    QSize size = window->surfaceSize();
 | 
			
		||||
    if (anchors & Window::AnchorLeft && anchors & Window::AnchorRight) {
 | 
			
		||||
    if ((anchors & Window::AnchorLeft) && (anchors & Window::AnchorRight)) {
 | 
			
		||||
        size.setWidth(0);
 | 
			
		||||
    }
 | 
			
		||||
    if (anchors & Window::AnchorTop && anchors & Window::AnchorBottom) {
 | 
			
		||||
    if ((anchors & Window::AnchorTop) && (anchors & Window::AnchorBottom)) {
 | 
			
		||||
        size.setHeight(0);
 | 
			
		||||
    }
 | 
			
		||||
    if (size.isValid() && size != QSize(0, 0)) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue