From 668e8262c7885cceb2d8fc4944572a50fd95fa0c Mon Sep 17 00:00:00 2001 From: Orgad Shaneh Date: Wed, 9 May 2018 22:20:00 +0300 Subject: [PATCH] QmlProfiler: Fix implicit fall-through Detected by GCC8. Change-Id: I59d55322eaef631163a56b619ffbf09671758caa Reviewed-by: Ulf Hermann --- src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp index 867b95273bb..6192f17bf46 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp @@ -577,9 +577,8 @@ QVariant QmlProfilerStatisticsRelativesModel::dataForMainEntry(qint64 totalDurat case RelativeCallCount: return 1; case RelativeDetails: return tr("Main Program"); } - default: - return QVariant(); } + return QVariant(); } QVariant QmlProfilerStatisticsRelativesModel::data(const QModelIndex &index, int role) const