diff options
author | Saturneric <[email protected]> | 2021-12-15 18:29:46 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-16 09:36:19 +0000 |
commit | 51259403d70cb69c2fbd2b38794867f0b60bcf35 (patch) | |
tree | ecbaffef748db326f00ac58f757e5e824b61d52e /src/ui/MainWindow.cpp | |
parent | SMTP Support Added. (diff) | |
download | GpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.tar.gz GpgFrontend-51259403d70cb69c2fbd2b38794867f0b60bcf35.zip |
Added & Improved & Fixed.
Fixed Bugs in core.
Improved Send Mail & Keyserver Settings.
Added Pubkey Sync for key list.
Added Refresh for key list.
Improved Send Mail and others.
Known Bugs Fixed.
Diffstat (limited to 'src/ui/MainWindow.cpp')
-rw-r--r-- | src/ui/MainWindow.cpp | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/ui/MainWindow.cpp b/src/ui/MainWindow.cpp index 6d55aeb5..1e58e1e1 100644 --- a/src/ui/MainWindow.cpp +++ b/src/ui/MainWindow.cpp @@ -28,6 +28,7 @@ #ifdef RELEASE #include "ui/function/VersionCheckThread.h" #endif +#include "ui/SignalStation.h" #include "ui/settings/GlobalSettingStation.h" namespace GpgFrontend::UI { @@ -51,8 +52,6 @@ void MainWindow::init() noexcept { /* the list of Keys available*/ mKeyList = new KeyList(this); - mKeyList->slotRefresh(); - infoBoard = new InfoBoardWidget(this); /* List of binary Attachments */ @@ -69,13 +68,16 @@ void MainWindow::init() noexcept { connect(edit->tabWidget, SIGNAL(currentChanged(int)), this, SLOT(slotDisableTabActions(int))); + connect(SignalStation::GetInstance(), + &SignalStation::signalRefreshStatusBar, this, + [=](const QString& message, int timeout) { + statusBar()->showMessage(message, timeout); + }); mKeyList->addMenuAction(appendSelectedKeysAct); mKeyList->addMenuAction(copyMailAddressToClipboardAct); - mKeyList->addMenuAction(showKeyDetailsAct); mKeyList->addSeparator(); - mKeyList->addMenuAction(refreshKeysFromKeyserverAct); - mKeyList->addMenuAction(uploadKeyToServerAct); + mKeyList->addMenuAction(showKeyDetailsAct); restoreSettings(); |