aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keypair_details/KeyPairDetailTab.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2022-01-22 15:42:43 +0000
committerSaturneric <[email protected]>2022-01-22 15:42:43 +0000
commit92da87923ca3ceee7a63143cddd6b88d1fc6b2fb (patch)
tree96f29ee61701ade3d89728861b0cc646a0396633 /src/ui/keypair_details/KeyPairDetailTab.cpp
parent<doc, refactor>(ui): Tidy up part of the code of ui and related parts (diff)
downloadGpgFrontend-92da87923ca3ceee7a63143cddd6b88d1fc6b2fb.tar.gz
GpgFrontend-92da87923ca3ceee7a63143cddd6b88d1fc6b2fb.zip
<refactor>(ui): tidy up codes and add comments.
1. tidy up keypair_details.
Diffstat (limited to 'src/ui/keypair_details/KeyPairDetailTab.cpp')
-rw-r--r--src/ui/keypair_details/KeyPairDetailTab.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/keypair_details/KeyPairDetailTab.cpp b/src/ui/keypair_details/KeyPairDetailTab.cpp
index ed71be0f..a13376b1 100644
--- a/src/ui/keypair_details/KeyPairDetailTab.cpp
+++ b/src/ui/keypair_details/KeyPairDetailTab.cpp
@@ -125,7 +125,7 @@ KeyPairDetailTab::KeyPairDetailTab(const std::string& key_id, QWidget* parent)
copyFingerprintButton->setFlat(true);
copyFingerprintButton->setToolTip(_("copy fingerprint to clipboard"));
connect(copyFingerprintButton, SIGNAL(clicked()), this,
- SLOT(slotCopyFingerprint()));
+ SLOT(slot_copy_fingerprint()));
hboxFP->addWidget(copyFingerprintButton);
hboxFP->addStretch();
@@ -158,7 +158,7 @@ KeyPairDetailTab::KeyPairDetailTab(const std::string& key_id, QWidget* parent)
setLayout(mvbox);
}
-void KeyPairDetailTab::slotCopyFingerprint() {
+void KeyPairDetailTab::slot_copy_fingerprint() {
QString fpr = fingerPrintVarLabel->text().trimmed().replace(" ", QString());
QClipboard* cb = QApplication::clipboard();
cb->setText(fpr);