Skip to content

Commit

Permalink
open project file using text mode (fix #7735)
Browse files Browse the repository at this point in the history
  • Loading branch information
brushtyler committed May 18, 2013
1 parent 99aaa59 commit 81f677d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsproject.cpp
Expand Up @@ -795,7 +795,7 @@ bool QgsProject::read()
std::auto_ptr< QDomDocument > doc =
std::auto_ptr < QDomDocument > ( new QDomDocument( "qgis" ) );

if ( !imp_->file.open( QIODevice::ReadOnly ) )
if ( !imp_->file.open( QIODevice::ReadOnly | QIODevice::Text ) )
{
imp_->file.close();

Expand Down

0 comments on commit 81f677d

Please sign in to comment.