diff options
author | Orgad Shaneh <[email protected]> | 2018-05-09 22:20:00 +0300 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2018-05-11 09:21:31 +0000 |
commit | 668e8262c7885cceb2d8fc4944572a50fd95fa0c (patch) | |
tree | c26d949dc60dcfd9358a5f2b8964400659f5cfcb /src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp | |
parent | 8e7c1bf1ab9eee483a20b923b9e074b747b28165 (diff) |
QmlProfiler: Fix implicit fall-through
Detected by GCC8.
Change-Id: I59d55322eaef631163a56b619ffbf09671758caa
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp | 3 |
1 files changed, 1 insertions, 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 |