Skip to content

Commit

Permalink
Applied patch #725 which also fixes ticket #698
Browse files Browse the repository at this point in the history
(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@7017 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Jun 11, 2007
1 parent a33db74 commit 1f2f9a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsproject.cpp
Original file line number Diff line number Diff line change
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 1f2f9a3

Please sign in to comment.