diff options
author | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 09:10:53 +0000 |
commit | 0dd16d72d75e2068b8365a49ef2696a4744575dd (patch) | |
tree | a463727ba5a5ee4d5afcfb0eaa4d8e6e48b7c930 /src/ui/widgets/KeyList.cpp | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.tar.gz GpgFrontend-0dd16d72d75e2068b8365a49ef2696a4744575dd.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up ui.
Diffstat (limited to 'src/ui/widgets/KeyList.cpp')
-rw-r--r-- | src/ui/widgets/KeyList.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/widgets/KeyList.cpp b/src/ui/widgets/KeyList.cpp index 32a2e4ed..37378529 100644 --- a/src/ui/widgets/KeyList.cpp +++ b/src/ui/widgets/KeyList.cpp @@ -77,7 +77,7 @@ void KeyList::init() { // register key database refresh signal connect(this, &KeyList::SignalRefreshDatabase, SignalStation::GetInstance(), - &SignalStation::KeyDatabaseRefresh); + &SignalStation::SignalKeyDatabaseRefresh); connect(SignalStation::GetInstance(), SIGNAL(KeyDatabaseRefresh()), this, SLOT(SlotRefresh())); connect(ui_->refreshKeyListButton, &QPushButton::clicked, this, @@ -89,7 +89,7 @@ void KeyList::init() { connect(ui_->syncButton, &QPushButton::clicked, this, &KeyList::slot_sync_with_key_server); connect(this, &KeyList::SignalRefreshStatusBar, SignalStation::GetInstance(), - &SignalStation::signalRefreshStatusBar); + &SignalStation::SignalRefreshStatusBar); setAcceptDrops(true); @@ -462,7 +462,7 @@ void KeyList::slot_sync_with_key_server() { ui_->syncButton->setDisabled(true); emit SignalRefreshStatusBar(_("Syncing Key List..."), 3000); - CommonUtils::slotImportKeyFromKeyServer( + CommonUtils::SlotImportKeyFromKeyServer( m_key_list_id_, key_ids, [=](const std::string& key_id, const std::string& status, size_t current_index, size_t all_index) { |