Skip to content

Commit d62a498

Browse files
committedJun 22, 2014
don't write project files with native line endings on windows
(fixes #6407, fixes #7735, fixes #8267)
1 parent b73c870 commit d62a498

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/core/qgsproject.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1055,7 +1055,7 @@ bool QgsProject::write()
10551055
// if we have problems creating or otherwise writing to the project file,
10561056
// let's find out up front before we go through all the hand-waving
10571057
// necessary to create all the Dom objects
1058-
if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Text | QIODevice::Truncate ) )
1058+
if ( !imp_->file.open( QIODevice::WriteOnly | QIODevice::Truncate ) )
10591059
{
10601060
imp_->file.close(); // even though we got an error, let's make
10611061
// sure it's closed anyway

0 commit comments

Comments
 (0)