AppFwk : Add missing default handling in switch statements

This commit is contained in:
Magne Sjaastad 2018-02-23 19:56:38 +01:00
parent 309b1f0749
commit 8bc3f06acd
3 changed files with 6 additions and 0 deletions

View File

@ -167,6 +167,8 @@ bool caf::CadNavigation::handleInputEvent(QInputEvent* inputEvent)
}
}
break;
default:
break;
}
if (isSupposedToConsumeEvents())

View File

@ -132,6 +132,8 @@ bool caf::CeetronNavigation::handleInputEvent(QInputEvent* inputEvent)
case QEvent::Wheel:
wheelEvent(static_cast<QWheelEvent*> ( inputEvent));
break;
default:
break;
}
return false;

View File

@ -202,6 +202,8 @@ bool caf::CeetronPlusNavigation::handleInputEvent(QInputEvent* inputEvent)
}
}
break;
default:
break;
}
if (isSupposedToConsumeEvents())