diff options
author | Saturneric <[email protected]> | 2021-12-16 20:05:31 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-16 20:43:19 +0000 |
commit | 1a51a285410b673bc020b5b9e4430a824a4addce (patch) | |
tree | b98edf5da49c25b49f9b9a3b863bc511def99e81 /src/ui/KeyMgmt.cpp | |
parent | Fixed Issues on Windows & Reduce warning. (diff) | |
download | GpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.tar.gz GpgFrontend-1a51a285410b673bc020b5b9e4430a824a4addce.zip |
Fixed bugs & Improve Speed.
Diffstat (limited to 'src/ui/KeyMgmt.cpp')
-rwxr-xr-x | src/ui/KeyMgmt.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/KeyMgmt.cpp b/src/ui/KeyMgmt.cpp index d3759e44..c03b8e6b 100755 --- a/src/ui/KeyMgmt.cpp +++ b/src/ui/KeyMgmt.cpp @@ -141,6 +141,8 @@ KeyMgmt::KeyMgmt(QWidget* parent) : QMainWindow(parent) { this->resize(size); this->move(pos); + this->setWindowModality(Qt::ApplicationModal); + this->statusBar()->show(); setWindowTitle(_("KeyPair Management")); mKeyList->addMenuAction(deleteSelectedKeysAct); @@ -148,6 +150,11 @@ KeyMgmt::KeyMgmt(QWidget* parent) : QMainWindow(parent) { connect(this, SIGNAL(signalKeyStatusUpdated()), SignalStation::GetInstance(), SIGNAL(KeyDatabaseRefresh())); + connect(SignalStation::GetInstance(), + &SignalStation::signalRefreshStatusBar, this, + [=](const QString& message, int timeout) { + statusBar()->showMessage(message, timeout); + }); } void KeyMgmt::createActions() { |