aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/UserInterfaceUtils.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2023-12-02 14:01:16 +0000
committersaturneric <[email protected]>2023-12-02 14:01:16 +0000
commit0ec3358e4cfce7ad242e851c450292a25619221e (patch)
tree28a50308678ccbe0e0820d367f363df7df4e0be2 /src/ui/UserInterfaceUtils.cpp
parentfix: add set owner struct action in keymanager menu (diff)
downloadGpgFrontend-0ec3358e4cfce7ad242e851c450292a25619221e.tar.gz
GpgFrontend-0ec3358e4cfce7ad242e851c450292a25619221e.zip
feat: add buddled qt pinentry and make it works
Diffstat (limited to 'src/ui/UserInterfaceUtils.cpp')
-rw-r--r--src/ui/UserInterfaceUtils.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/ui/UserInterfaceUtils.cpp b/src/ui/UserInterfaceUtils.cpp
index 97520a25..2e3596f8 100644
--- a/src/ui/UserInterfaceUtils.cpp
+++ b/src/ui/UserInterfaceUtils.cpp
@@ -164,9 +164,6 @@ CommonUtils::CommonUtils() : QWidget(nullptr) {
connect(this, &CommonUtils::SignalKeyDatabaseRefreshDone,
UISignalStation::GetInstance(),
&UISignalStation::SignalKeyDatabaseRefreshDone);
- connect(this, &CommonUtils::SignalUserInputPassphraseDone,
- CoreSignalStation::GetInstance(),
- &CoreSignalStation::SignalUserInputPassphraseDone);
// directly connect to SignalKeyStatusUpdated
// to avoid the delay of signal emitting
@@ -175,10 +172,6 @@ CommonUtils::CommonUtils() : QWidget(nullptr) {
&UISignalStation::SignalKeyDatabaseRefresh, this,
&CommonUtils::slot_update_key_status);
- connect(CoreSignalStation::GetInstance(),
- &CoreSignalStation::SignalNeedUserInputPassphrase, this,
- &CommonUtils::slot_popup_passphrase_input_dialog);
-
connect(this, &CommonUtils::SignalRestartApplication,
UISignalStation::GetInstance(),
&UISignalStation::SignalRestartApplication);
@@ -467,7 +460,7 @@ void CommonUtils::slot_popup_passphrase_input_dialog() {
SetTempCacheValue("__key_passphrase", dialog->textValue().toStdString());
// send signal
- emit SignalUserInputPassphraseDone();
+ // emit SignalUserInputPassphraseDone();
}
void CommonUtils::SlotRestartApplication(int code) {