Repair regression in message_aggregator decode filtering by client

This commit is contained in:
Bill Somerville 2020-11-30 02:13:16 +00:00
parent 48cb207cd3
commit d186f7b14e
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 1 additions and 2 deletions

View File

@ -5,7 +5,6 @@
#include <QColor>
#include <QtWidgets>
#include <QAction>
#include <QDebug>
#include "validators/MaidenheadLocatorValidator.hpp"
@ -73,7 +72,7 @@ bool ClientWidget::IdFilterModel::filterAcceptsRow (int source_row
, QModelIndex const& source_parent) const
{
auto source_index_col0 = sourceModel ()->index (source_row, 0, source_parent);
return sourceModel ()->data (source_index_col0).value<ClientKey> () == key_;
return sourceModel ()->data (source_index_col0, Qt::UserRole + 1).value<ClientKey> () == key_;
}
void ClientWidget::IdFilterModel::de_call (QString const& call)