Skip to content

Commit 97ced05

Browse files
author
timlinux
committed
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
1 parent 0c9bc00 commit 97ced05

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
@@ -748,7 +748,7 @@ bool QgsProject::read()
748748
imp_->file.close(); // even though we got an error, let's make
749749
// sure it's closed anyway
750750

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

753753
return false; // XXX raise exception? Ok now superfluous
754754
// XXX because of exception.

0 commit comments

Comments
 (0)