mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings Several adjustments to improve the specification and usage of compile flags.
This commit is contained in:
@@ -66,7 +66,7 @@ bool RiuGeoQuestNavigation::handleInputEvent( QInputEvent* inputEvent )
|
||||
m_hasMovedMouseDuringNavigation = false;
|
||||
isEventHandled = true;
|
||||
}
|
||||
else if ( me->button() == Qt::MidButton )
|
||||
else if ( me->button() == Qt::MiddleButton )
|
||||
{
|
||||
if ( me->modifiers() == Qt::NoModifier )
|
||||
{
|
||||
@@ -84,7 +84,7 @@ bool RiuGeoQuestNavigation::handleInputEvent( QInputEvent* inputEvent )
|
||||
if ( m_isNavigating )
|
||||
{
|
||||
QMouseEvent* me = static_cast<QMouseEvent*>( inputEvent );
|
||||
if ( me->button() == Qt::LeftButton || me->button() == Qt::MidButton )
|
||||
if ( me->button() == Qt::LeftButton || me->button() == Qt::MiddleButton )
|
||||
{
|
||||
m_trackball->endNavigation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user