From c6da678ef3613d67be24c21bbf5bbbb43c4e4512 Mon Sep 17 00:00:00 2001 From: nils Date: Tue, 12 Jan 2010 10:18:47 +0000 Subject: added Fabian's bugfix for file encryption git-svn-id: http://cpunk.de/svn/src/gpg4usb/trunk@237 34ebc366-c3a9-4b3c-9f84-69acf7962910 --- fileencryptiondialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fileencryptiondialog.cpp') 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()) -- cgit v1.2.3