Add -Wzero-as-null-pointer-constant and fix occurences

This commit is contained in:
Vasily
2019-02-21 18:48:53 +01:00
committed by username223
parent 896559cc20
commit 9d46358309
5 changed files with 13 additions and 13 deletions
+4 -4
View File
@@ -594,7 +594,7 @@ void OverlayController::mainEventLoop()
m_pWindow->mapToGlobal( ptNewMouse ),
Qt::NoButton,
m_lastMouseButtons,
0 );
nullptr );
m_ptLastMouse = ptNewMouse;
QCoreApplication::sendEvent( m_pWindow.get(), &mouseEvent );
OnRenderRequest();
@@ -615,7 +615,7 @@ void OverlayController::mainEventLoop()
m_pWindow->mapToGlobal( ptNewMouse ),
button,
m_lastMouseButtons,
0 );
nullptr );
QCoreApplication::sendEvent( m_pWindow.get(), &mouseEvent );
}
break;
@@ -633,7 +633,7 @@ void OverlayController::mainEventLoop()
m_pWindow->mapToGlobal( ptNewMouse ),
button,
m_lastMouseButtons,
0 );
nullptr );
QCoreApplication::sendEvent( m_pWindow.get(), &mouseEvent );
}
break;
@@ -652,7 +652,7 @@ void OverlayController::mainEventLoop()
0,
Qt::Vertical,
m_lastMouseButtons,
0 );
nullptr );
QCoreApplication::sendEvent( m_pWindow.get(), &wheelEvent );
}
break;