diff options
author | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-08 23:03:53 +0000 |
---|---|---|
committer | ubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910> | 2011-12-08 23:03:53 +0000 |
commit | 9105670b83d97f964b32adc8f12977cace552b11 (patch) | |
tree | 0052f39b07e9c141a97c8482035918f921498275 | |
parent | reorganize help menu (diff) | |
download | gpg4usb-9105670b83d97f964b32adc8f12977cace552b11.tar.gz gpg4usb-9105670b83d97f964b32adc8f12977cace552b11.zip |
more height for file encryption dialog
git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@686 34ebc366-c3a9-4b3c-9f84-69acf7962910
-rwxr-xr-x | fileencryptiondialog.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp index b23d5a1..82ce6a2 100755 --- a/fileencryptiondialog.cpp +++ b/fileencryptiondialog.cpp @@ -27,14 +27,16 @@ FileEncryptionDialog::FileEncryptionDialog(GpgME::GpgContext *ctx, QString iconP { mCtx = ctx; if(action == Decrypt) { - setWindowTitle(tr(" Decrypt File")); + setWindowTitle(tr("Decrypt File")); } else if (action == Encrypt) { setWindowTitle(tr("Encrypt File")); + resize(500, 300); } else { setWindowTitle(tr("Encrypt / Decrypt File")); + resize(500, 200); } - resize(500, 200); + setModal(true); QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel); |