summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTibor Nagy <xnagytibor@gmail.com>2020-09-22 00:24:27 +0200
committerAndreas Kling <kling@serenityos.org>2020-09-22 19:05:50 +0200
commitf910cdcdb7cf7a197d9fa9521d72a9c28dfd7add (patch)
treee8c948310141f491e155bf365ba146d4d66abf77
parente596b1da889ed1b90e959c8bfda630ccd07b58a3 (diff)
downloadserenity-f910cdcdb7cf7a197d9fa9521d72a9c28dfd7add.zip
SystemMonitor: Fix assert when sorting by the "Page map" column
-rw-r--r--Applications/SystemMonitor/ProcessMemoryMapWidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp
index 2ec8f063ef..7eef9185d3 100644
--- a/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp
+++ b/Applications/SystemMonitor/ProcessMemoryMapWidget.cpp
@@ -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({});