From 9105670b83d97f964b32adc8f12977cace552b11 Mon Sep 17 00:00:00 2001 From: ubbo Date: Thu, 8 Dec 2011 23:03:53 +0000 Subject: more height for file encryption dialog git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@686 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- fileencryptiondialog.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fileencryptiondialog.cpp') 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); -- cgit v1.2.3