Remove Q_NULLPTR usage
This project requires C++17, which has the nullptr keyword.
This commit is contained in:
		
							parent
							
								
									834551f6b7
								
							
						
					
					
						commit
						c46249bba0
					
				
					 2 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -15,7 +15,6 @@
 | 
			
		|||
namespace LayerShellQt
 | 
			
		||||
{
 | 
			
		||||
QWaylandLayerShellIntegration::QWaylandLayerShellIntegration()
 | 
			
		||||
    : m_layerShell(Q_NULLPTR)
 | 
			
		||||
{
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -28,7 +28,7 @@ public:
 | 
			
		|||
private:
 | 
			
		||||
    static void registryLayer(void *data, struct wl_registry *registry, uint32_t id, const QString &interface, uint32_t version);
 | 
			
		||||
 | 
			
		||||
    QWaylandLayerShell *m_layerShell;
 | 
			
		||||
    QWaylandLayerShell *m_layerShell = nullptr;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue