listcolumn - adjust add(ListEntry<T>) to take const ref, more compatible on Linux

develop
Quietust 2017-10-08 19:54:51 -06:00
parent 54b0d2fcb6
commit c080da3750
1 changed files with 1 additions and 1 deletions

@ -70,7 +70,7 @@ public:
display_max_rows = gps->dimy - 4 - bottom_margin;
}
void add(ListEntry<T> &entry)
void add(const ListEntry<T> &entry)
{
list.push_back(entry);
if (entry.text.length() > max_item_width)