aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2023-02-03 13:43:55 +0000
committerSaturneric <[email protected]>2023-02-03 13:43:55 +0000
commit11d32517c2f6f538209c893c6b0b24572fba1a36 (patch)
tree0dac14bcad75d9c7c5b5723dc23e6409721966b4 /src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp
parentfeat: change logging framework to spdlog (diff)
downloadGpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.tar.gz
GpgFrontend-11d32517c2f6f538209c893c6b0b24572fba1a36.zip
feat: change the log style in source files
Diffstat (limited to 'src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp')
-rw-r--r--src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp b/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp
index 0f7de587..f582df0b 100644
--- a/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp
+++ b/src/ui/dialog/keypair_details/KeyUIDSignDialog.cpp
@@ -104,19 +104,19 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid,
}
void KeyUIDSignDialog::slot_sign_key(bool clicked) {
- LOG(INFO) << "Called";
+ SPDLOG_INFO("called");
// Set Signers
auto key_ids = m_key_list_->GetChecked();
auto keys = GpgKeyGetter::GetInstance().GetKeys(key_ids);
- LOG(INFO) << "Key Info Got";
+ SPDLOG_INFO("key info got");
auto expires = std::make_unique<boost::posix_time::ptime>(
boost::posix_time::from_time_t(expires_edit_->dateTime().toTime_t()));
- LOG(INFO) << "Sign Start";
+ SPDLOG_INFO("sign start");
for (const auto& uid : *m_uids_) {
- LOG(INFO) << "Sign UID" << uid;
+ SPDLOG_INFO("sign uid: {}", uid);
// Sign For mKey
if (!GpgKeyManager::GetInstance().SignKey(m_key_, *keys, uid, expires)) {
QMessageBox::critical(