aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/model/GpgKeyTableProxyModel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/model/GpgKeyTableProxyModel.cpp')
-rw-r--r--src/ui/model/GpgKeyTableProxyModel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/ui/model/GpgKeyTableProxyModel.cpp b/src/ui/model/GpgKeyTableProxyModel.cpp
index 9dc98bcd..746f3344 100644
--- a/src/ui/model/GpgKeyTableProxyModel.cpp
+++ b/src/ui/model/GpgKeyTableProxyModel.cpp
@@ -95,8 +95,7 @@ auto GpgKeyTableProxyModel::filterAcceptsRow(
auto index = sourceModel()->index(source_row, column, sourceParent);
infos << sourceModel()->data(index).toString();
- const auto uids = key.GetUIDs();
- for (const auto &uid : *uids) {
+ for (const auto &uid : key.UIDs()) {
infos << uid.GetUID();
}
}
@@ -109,7 +108,7 @@ auto GpgKeyTableProxyModel::filterAcceptsRow(
}
auto GpgKeyTableProxyModel::filterAcceptsColumn(
- int sourceColumn, const QModelIndex &sourceParent) const -> bool {
+ int sourceColumn, const QModelIndex & /*sourceParent*/) const -> bool {
switch (sourceColumn) {
case 0: {
return true;