aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/widgets/KeyList.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-12-16 20:05:31 +0000
committerSaturneric <[email protected]>2021-12-16 20:43:19 +0000
commit1a51a285410b673bc020b5b9e4430a824a4addce (patch)
treeb98edf5da49c25b49f9b9a3b863bc511def99e81 /src/ui/widgets/KeyList.cpp
parentFixed Issues on Windows & Reduce warning. (diff)
downloadGpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.tar.gz
GpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.zip
Fixed bugs & Improve Speed.
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r--src/ui/widgets/KeyList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp
index 3933b968..0e4c5bba 100644
--- a/src/ui/widgets/KeyList.cpp
+++ b/src/ui/widgets/KeyList.cpp
@@ -134,7 +134,7 @@ void KeyList::addListGroupTab(
}
void KeyList::slotRefresh() {
- LOG(INFO) << _("Called");
+ LOG(INFO) << _("Called") << "_m_key_list_id" << _m_key_list_id;
emit signalRefreshStatusBar(_("Refreshing Key List..."), 3000);
auto thread = QThread::create([this, _id = _m_key_list_id]() {
std::lock_guard<std::mutex> guard(buffered_key_list_mutex);
@@ -512,7 +512,7 @@ void KeyTable::Refresh(KeyLinkListPtr m_keys) {
table_buffered_keys.clear();
while (it != keys->end()) {
- table_buffered_keys.push_back(GpgKeyGetter::GetInstance().GetKey(it->id()));
+ table_buffered_keys.push_back(it->copy());
auto* tmp0 = new QTableWidgetItem(QString::number(row_index));
tmp0->setFlags(Qt::ItemIsUserCheckable | Qt::ItemIsEnabled |