Update a usernames "timeAdded" every time it tries to be added
This keeps "recent chatters" from expiring Progress on #57
This commit is contained in:
@@ -39,7 +39,7 @@ class CompletionModel : public QAbstractListModel
|
||||
// Type will help decide the lifetime of the tagged strings
|
||||
Type type;
|
||||
|
||||
std::chrono::steady_clock::time_point timeAdded;
|
||||
mutable std::chrono::steady_clock::time_point timeAdded;
|
||||
|
||||
bool HasExpired(const std::chrono::steady_clock::time_point &now) const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user