do not mix up peak and allocated columns
authorMilian Wolff <milian.wolff@kdab.com>
Mon, 24 Aug 2015 12:52:55 +0000 (14:52 +0200)
committerMilian Wolff <milian.wolff@kdab.com>
Mon, 24 Aug 2015 12:52:55 +0000 (14:52 +0200)
gui/parser.cpp

index c9b6857..b495920 100644 (file)
@@ -161,7 +161,7 @@ QVector<RowData> mergeAllocations(const AccumulatedTraceData& data)
                 it->leaked += allocation.leaked;
                 it->peak = max(it->peak, static_cast<quint64>(allocation.peak));
             } else {
-                it = rows->insert(it, {allocation.allocations, allocation.allocated, allocation.leaked, allocation.peak,
+                it = rows->insert(it, {allocation.allocations, allocation.peak, allocation.leaked, allocation.allocated,
                                         location, nullptr, {}});
             }
             traceIndex = trace.parentIndex;