We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b73c870 commit d62a498Copy full SHA for d62a498
src/core/qgsproject.cpp
@@ -1055,7 +1055,7 @@ bool QgsProject::write()
1055
// if we have problems creating or otherwise writing to the project file,
1056
// let's find out up front before we go through all the hand-waving
1057
// necessary to create all the Dom objects
1058
- if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate ) )
+ if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Truncate ) )
1059
{
1060
imp_->file.close(); // even though we got an error, let's make
1061
// sure it's closed anyway
0 commit comments