SystemMonitor: Fix assert when sorting by the "Page map" column

This commit is contained in:
Tibor Nagy 2020-09-22 00:24:27 +02:00 committed by Andreas Kling
parent e596b1da88
commit f910cdcdb7
Notes: sideshowbarker 2024-07-19 02:16:52 +09:00

View file

@ -107,7 +107,7 @@ ProcessMemoryMapWidget::ProcessMemoryMapWidget()
return GUI::Variant();
},
[](auto&) {
return GUI::Variant();
return GUI::Variant(0);
},
[](const JsonObject& object) {
auto pagemap = object.get("pagemap").as_string_or({});