Skip to content

Commit 81f677d

Browse files
committed
open project file using text mode (fix #7735)
1 parent 99aaa59 commit 81f677d

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
@@ -795,7 +795,7 @@ bool QgsProject::read()
795795
std::auto_ptr< QDomDocument > doc =
796796
std::auto_ptr < QDomDocument > ( new QDomDocument( "qgis" ) );
797797

798-
if ( !imp_->file.open( QIODevice::ReadOnly ) )
798+
if ( !imp_->file.open( QIODevice::ReadOnly | QIODevice::Text ) )
799799
{
800800
imp_->file.close();
801801

0 commit comments

Comments
 (0)