From c080da3750d923bd546f94c40c0a1b9ee88f28cc Mon Sep 17 00:00:00 2001 From: Quietust Date: Sun, 8 Oct 2017 19:54:51 -0600 Subject: [PATCH] listcolumn - adjust add(ListEntry) to take const ref, more compatible on Linux --- plugins/listcolumn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/listcolumn.h b/plugins/listcolumn.h index 9914c8ea7..4e4815b69 100644 --- a/plugins/listcolumn.h +++ b/plugins/listcolumn.h @@ -70,7 +70,7 @@ public: display_max_rows = gps->dimy - 4 - bottom_margin; } - void add(ListEntry &entry) + void add(const ListEntry &entry) { list.push_back(entry); if (entry.text.length() > max_item_width)