aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.cpp
diff options
context:
space:
mode:
authorubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-08 23:03:53 +0000
committerubbo <ubbo@34ebc366-c3a9-4b3c-9f84-69acf7962910>2011-12-08 23:03:53 +0000
commit9105670b83d97f964b32adc8f12977cace552b11 (patch)
tree0052f39b07e9c141a97c8482035918f921498275 /fileencryptiondialog.cpp
parentreorganize help menu (diff)
downloadgpg4usb-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
Diffstat (limited to '')
-rwxr-xr-xfileencryptiondialog.cpp6
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);