aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-08-19 09:50:38 +0000
committerSaturneric <[email protected]>2021-08-19 09:50:38 +0000
commitce5296d5c5aae6270dd237d03fed4588f276266d (patch)
tree619905633d9204d0304a22cd0c45598092dc980a /src/ui/widgets/KeyList.cpp
parentBugs Fixed; Code Modified; (diff)
downloadGpgFrontend-ce5296d5c5aae6270dd237d03fed4588f276266d.tar.gz
GpgFrontend-ce5296d5c5aae6270dd237d03fed4588f276266d.zip
Bugs Fixed;
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r--src/ui/widgets/KeyList.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp
index 25f8870e..9c9c6763 100644
--- a/src/ui/widgets/KeyList.cpp
+++ b/src/ui/widgets/KeyList.cpp
@@ -390,7 +390,7 @@ void KeyList::setFilter(std::function<bool(const GpgKey &)> filter) {
void KeyList::slotDoubleClicked(const QModelIndex &index) {
if (mAction != nullptr) {
- const auto &key = mCtx->getKeyById(buffered_keys[index.row()].id);
+ const auto key = mCtx->getKeyById(buffered_keys[index.row()].id);
mAction(key, this);
}