Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Applied patch #725 which also fixes ticket #698
(This patch fixes crash (ticket #698) and also adds some i18n stuff (missing tr(), and encoding conversation where nedded). Included patches for HEAD and also for 0.8.x)


git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7017 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jun 11, 2007
1 parent 0c9bc00 commit 97ced05
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsproject.cpp
Expand Up @@ -748,7 +748,7 @@ bool QgsProject::read()
imp_->file.close(); // even though we got an error, let's make
// sure it's closed anyway

throw QgsIOException("Unable to open " + imp_->file.name());
throw QgsIOException( QObject::tr("Unable to open ") + imp_->file.name());

return false; // XXX raise exception? Ok now superfluous
// XXX because of exception.
Expand Down

0 comments on commit 97ced05

Please sign in to comment.