aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/KeyMgmt.cpp
diff options
context:
space:
mode:
authorSaturneric <[email protected]>2021-06-21 20:31:25 +0000
committerSaturneric <[email protected]>2021-06-21 20:31:25 +0000
commitb90ea800086973ae73bb4a4fd3427a90361ce383 (patch)
treeb5e6f058d7ef310efc07a7ee584a22675fa486fc /src/ui/KeyMgmt.cpp
parentMerge branch 'develop' (diff)
downloadGpgFrontend-b90ea800086973ae73bb4a4fd3427a90361ce383.tar.gz
GpgFrontend-b90ea800086973ae73bb4a4fd3427a90361ce383.zip
Repair and improve the functions and UI related to the upload and update of the key server.
Improve part of the UI description. Repair the problems in the project configuration file.
Diffstat (limited to '')
-rwxr-xr-xsrc/ui/KeyMgmt.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/ui/KeyMgmt.cpp b/src/ui/KeyMgmt.cpp
index 326c20b2..6f9c64a2 100755
--- a/src/ui/KeyMgmt.cpp
+++ b/src/ui/KeyMgmt.cpp
@@ -142,7 +142,7 @@ void KeyMgmt::createActions()
deleteCheckedKeysAct->setIcon(QIcon(":button_delete.png"));
connect(deleteCheckedKeysAct, SIGNAL(triggered()), this, SLOT(slotDeleteCheckedKeys()));
- showKeyDetailsAct = new QAction(tr("Show Keydetails"), this);
+ showKeyDetailsAct = new QAction(tr("Show Key Details"), this);
showKeyDetailsAct->setToolTip(tr("Show Details for this Key"));
connect(showKeyDetailsAct, SIGNAL(triggered()), this, SLOT(slotShowKeyDetails()));
}
@@ -204,7 +204,7 @@ void KeyMgmt::createToolBars()
void KeyMgmt::slotImportKeys(QByteArray inBuffer)
{
GpgImportInformation result = mCtx->importKey(std::move(inBuffer));
- new KeyImportDetailDialog(mCtx, result, this);
+ new KeyImportDetailDialog(mCtx, result, false, this);
}
@@ -226,7 +226,7 @@ void KeyMgmt::slotImportKeyFromFile()
void KeyMgmt::slotImportKeyFromKeyServer()
{
- importDialog = new KeyServerImportDialog(mCtx, mKeyList, this);
+ importDialog = new KeyServerImportDialog(mCtx, mKeyList, false, this);
importDialog->show();
}
@@ -328,12 +328,6 @@ void KeyMgmt::slotGenerateKeyDialog()
void KeyMgmt::closeEvent(QCloseEvent *event)
{
- QSettings settings;
- //settings.setValue("geometry", saveGeometry());
- settings.setValue("keymgmt/windowState", saveState());
- settings.setValue("keymgmt/pos", pos());
- settings.setValue("keymgmt/size", size());
-
QMainWindow::closeEvent(event);
}