mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 06:08:42 -05:00
Repair regression in message_aggregator decode filtering by client
This commit is contained in:
parent
48cb207cd3
commit
d186f7b14e
@ -5,7 +5,6 @@
|
|||||||
#include <QColor>
|
#include <QColor>
|
||||||
#include <QtWidgets>
|
#include <QtWidgets>
|
||||||
#include <QAction>
|
#include <QAction>
|
||||||
#include <QDebug>
|
|
||||||
|
|
||||||
#include "validators/MaidenheadLocatorValidator.hpp"
|
#include "validators/MaidenheadLocatorValidator.hpp"
|
||||||
|
|
||||||
@ -73,7 +72,7 @@ bool ClientWidget::IdFilterModel::filterAcceptsRow (int source_row
|
|||||||
, QModelIndex const& source_parent) const
|
, QModelIndex const& source_parent) const
|
||||||
{
|
{
|
||||||
auto source_index_col0 = sourceModel ()->index (source_row, 0, source_parent);
|
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)
|
void ClientWidget::IdFilterModel::de_call (QString const& call)
|
||||||
|
Loading…
Reference in New Issue
Block a user