forked from qt-creator/qt-creator
QmlProfiler: Accept unknown input events
We might get more event types in the future and filtering them is harder than just displaying them. Also, traces might contain invalid input events which would trigger the assert. Change-Id: I9b38422af953ebb65363fc2b7a91facb7f757976 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
This commit is contained in:
@@ -126,7 +126,7 @@ QVariantMap InputEventsModel::details(int index) const
|
||||
type = tr("Mouse Event");
|
||||
break;
|
||||
default:
|
||||
Q_UNREACHABLE();
|
||||
type = tr("Unknown");
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user