Skip to content
Permalink
Browse files
don't write project files with native line endings on windows
(fixes #6407, fixes #7735, fixes #8267)
  • Loading branch information
jef-n committed Jun 22, 2014
1 parent b73c870 commit d62a498
Showing 1 changed file with 1 addition and 1 deletion.
@@ -1055,7 +1055,7 @@ bool QgsProject::write()
// if we have problems creating or otherwise writing to the project file,
// let's find out up front before we go through all the hand-waving
// necessary to create all the Dom objects
if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate ) )
if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Truncate ) )
{
imp_->file.close(); // even though we got an error, let's make
// sure it's closed anyway

0 comments on commit d62a498

Please sign in to comment.