diff options
author | Saturneric <[email protected]> | 2021-12-06 20:38:05 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-06 20:38:05 +0000 |
commit | 4f9ee73ffdda5a495d25ebf4f769a4c43aa78295 (patch) | |
tree | 7ef532525a250c485d95c1df5e4b432e169ec53c /src/ui/keypair_details/KeyUIDSignDialog.cpp | |
parent | Improve UI & Functions (diff) | |
download | GpgFrontend-4f9ee73ffdda5a495d25ebf4f769a4c43aa78295.tar.gz GpgFrontend-4f9ee73ffdda5a495d25ebf4f769a4c43aa78295.zip |
Test & Improve UI
Diffstat (limited to 'src/ui/keypair_details/KeyUIDSignDialog.cpp')
-rw-r--r-- | src/ui/keypair_details/KeyUIDSignDialog.cpp | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/ui/keypair_details/KeyUIDSignDialog.cpp b/src/ui/keypair_details/KeyUIDSignDialog.cpp index 78e4900c..d9592c56 100644 --- a/src/ui/keypair_details/KeyUIDSignDialog.cpp +++ b/src/ui/keypair_details/KeyUIDSignDialog.cpp @@ -97,20 +97,19 @@ KeyUIDSignDialog::KeyUIDSignDialog(const GpgKey& key, UIDArgsListPtr uid, } void KeyUIDSignDialog::slotSignKey(bool clicked) { - LOG(INFO) << "KeyUIDSignDialog::slotSignKey Called"; + LOG(INFO) << "Called"; // Set Signers auto key_ids = mKeyList->getChecked(); auto keys = GpgKeyGetter::GetInstance().GetKeys(key_ids); - LOG(INFO) << "KeyUIDSignDialog::slotSignKey Key Info Got"; - auto expires = std::make_unique<boost::gregorian::date>( - boost::posix_time::from_time_t(expiresEdit->dateTime().toTime_t()) - .date()); + LOG(INFO) << "Key Info Got"; + auto expires = std::make_unique<boost::posix_time::ptime>( + boost::posix_time::from_time_t(expiresEdit->dateTime().toTime_t())); - LOG(INFO) << "KeyUIDSignDialog::slotSignKey Sign Start"; + LOG(INFO) << "Sign Start"; for (const auto& uid : *mUids) { - LOG(INFO) << "KeyUIDSignDialog::slotSignKey Sign UID" << uid; + LOG(INFO) << "Sign UID" << uid; // Sign For mKey if (!GpgKeyManager::GetInstance().signKey(mKey, *keys, uid, expires)) { QMessageBox::critical( |