summaryrefslogtreecommitdiffstats
path: root/src/qdoc/helpprojectwriter.cpp
diff options
Diffstat (limited to 'src/qdoc/helpprojectwriter.cpp')
-rw-r--r--src/qdoc/helpprojectwriter.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qdoc/helpprojectwriter.cpp b/src/qdoc/helpprojectwriter.cpp
index a2cc2b5ce..64846a622 100644
--- a/src/qdoc/helpprojectwriter.cpp
+++ b/src/qdoc/helpprojectwriter.cpp
@@ -462,7 +462,7 @@ void HelpProjectWriter::writeHashFile(QFile &file)
hash.addData(&file);
QFile hashFile(file.fileName() + ".sha1");
- if (!hashFile.open(QFile::WriteOnly | QFile::Text))
+ if (!hashFile.open(QFile::WriteOnly))
return;
hashFile.write(hash.result().toHex());
@@ -574,7 +574,7 @@ void HelpProjectWriter::generateProject(HelpProject &project)
project.m_keywords.clear();
QFile file(m_outputDir + QDir::separator() + project.m_fileName);
- if (!file.open(QFile::WriteOnly | QFile::Text))
+ if (!file.open(QFile::WriteOnly))
return;
QXmlStreamWriter writer(&file);