aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xfileencryptiondialog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fileencryptiondialog.cpp b/fileencryptiondialog.cpp
index 2951947..2dbd816 100755
--- a/fileencryptiondialog.cpp
+++ b/fileencryptiondialog.cpp
@@ -159,7 +159,7 @@ void FileEncryptionDialog::executeAction()
}
QFile outfile(outputFileEdit->text());
- if (!outfile.open(QFile::WriteOnly | QFile::Text)) {
+ if (!outfile.open(QFile::WriteOnly)) {
QMessageBox::warning(this, tr("File"),
tr("Cannot write file %1:\n%2.")
.arg(outputFileEdit->text())