summaryrefslogtreecommitdiff
path: root/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp')
-rw-r--r--src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
index 49385fbaa9..d8ed9082b1 100644
--- a/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
+++ b/src/plugins/perfprofiler/perfprofilerflamegraphmodel.cpp
@@ -152,9 +152,9 @@ int PerfProfilerFlameGraphModel::rowCount(const QModelIndex &parent) const
{
if (parent.isValid()) {
Data *parentData = static_cast<Data *>(parent.internalPointer());
- return parentData->children.size();
+ return int(parentData->children.size());
}
- return m_stackBottom->children.size();
+ return int(m_stackBottom->children.size());
}
int PerfProfilerFlameGraphModel::columnCount(const QModelIndex &parent) const