aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2018-05-09 22:20:00 +0300
committerOrgad Shaneh <orgads@gmail.com>2018-05-11 09:21:31 +0000
commit668e8262c7885cceb2d8fc4944572a50fd95fa0c (patch)
treec26d949dc60dcfd9358a5f2b8964400659f5cfcb /src
parent8e7c1bf1ab9eee483a20b923b9e074b747b28165 (diff)
QmlProfiler: Fix implicit fall-through
Detected by GCC8. Change-Id: I59d55322eaef631163a56b619ffbf09671758caa Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp
index 867b95273b..6192f17bf4 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