aboutsummaryrefslogtreecommitdiffstats
path: root/fileencryptiondialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fileencryptiondialog.cpp')
-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);