diff options
author | Marco Bubke <[email protected]> | 2022-07-07 17:47:43 +0200 |
---|---|---|
committer | Tim Jenssen <[email protected]> | 2022-07-11 09:50:03 +0000 |
commit | e00f6864a00e659a4b738a8df6f6f8acd3e76a75 (patch) | |
tree | 313d6e17736192cf1b79fda097dd42c6d3f5b813 /src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp | |
parent | d829b27f159a97af574c003926b988e4ffcc2c6e (diff) |
QmlProfiler: Fix warning
Change-Id: Ib846c2d347610cdde4592960ad96b03195f3c13f
Reviewed-by: <[email protected]>
Reviewed-by: Tim Jenssen <[email protected]>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp index 92a1b1b623a..c814f0aee6c 100644 --- a/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp +++ b/src/plugins/qmlprofiler/qmlprofilerstatisticsmodel.cpp @@ -360,7 +360,8 @@ QVariant QmlProfilerStatisticsModel::data(const QModelIndex &index, int role) co return type.data().isEmpty() ? tr("Source code not available") : type.data(); default: - QTC_ASSERT(false, return QVariant()); + QTC_CHECK(false); + return {}; } default: return QVariant(); @@ -649,7 +650,8 @@ QVariant QmlProfilerStatisticsRelativesModel::data(const QModelIndex &index, int return type.data().isEmpty() ? tr("Source code not available") : type.data(); default: - QTC_ASSERT(false, return QVariant()); + QTC_CHECK(false); + return {}; } default: return QVariant(); |