diff options
Diffstat (limited to 'keymgmt.cpp')
-rwxr-xr-x | keymgmt.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/keymgmt.cpp b/keymgmt.cpp index 0ec7f30..a79f083 100755 --- a/keymgmt.cpp +++ b/keymgmt.cpp @@ -22,7 +22,7 @@ #include "keymgmt.h" -KeyMgmt::KeyMgmt(GpgME::GpgContext *ctx, QString iconpath) +KeyMgmt::KeyMgmt(GpgME::GpgContext *ctx, QString iconpath, QWidget *parent ) : QMainWindow(parent) { mCtx = ctx; mIconPath = iconpath; @@ -36,6 +36,7 @@ KeyMgmt::KeyMgmt(GpgME::GpgContext *ctx, QString iconpath) createActions(); createMenus(); createToolBars(); + connect(this,SIGNAL(statusBarChanged(QString)),this->parent(),SLOT(setStatusBarText(QString))); /* Restore the iconstyle */ QSettings settings; @@ -255,6 +256,7 @@ void KeyMgmt::exportKeyToFile() stream << *keyArray; file.close(); delete keyArray; + emit statusBarChanged(QString(tr("key(s) exported"))); } void KeyMgmt::exportKeyToClipboard() |