Skip to content
Permalink
Browse files

open project file using text mode (fix #7735)

  • Loading branch information
brushtyler committed May 18, 2013
1 parent 99aaa59 commit 81f677d5019a3d0c8129aae9d4f0f88123110d2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsproject.cpp
@@ -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();

0 comments on commit 81f677d

Please sign in to comment.
You can’t perform that action at this time.