Skip to content

Commit

Permalink
Revert "[bookmark] fix translation string: fixes to avoid an empty bo…
Browse files Browse the repository at this point in the history
…okmark name on import when system locale is different from english"

This reverts commit 6dda391.
  • Loading branch information
slarosa committed Feb 25, 2015
1 parent 42a8d8e commit f2f4a39
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/app/qgsbookmarks.cpp
Expand Up @@ -299,13 +299,13 @@ void QgsBookmarks::importFromXML()
for ( int i = 0;i < nodeList.count(); i++ )
{
QDomNode bookmark = nodeList.at( i );
QDomElement name = bookmark.firstChildElement( tr( "Name" ) );
QDomElement prjname = bookmark.firstChildElement( tr( "Project" ) );
QDomElement xmin = bookmark.firstChildElement( tr( "xMin" ) );
QDomElement xmax = bookmark.firstChildElement( tr( "xMax" ) );
QDomElement ymin = bookmark.firstChildElement( tr( "yMin" ) );
QDomElement ymax = bookmark.firstChildElement( tr( "yMax" ) );
QDomElement srid = bookmark.firstChildElement( tr( "SRID" ) );
QDomElement name = bookmark.firstChildElement( "Name" );
QDomElement prjname = bookmark.firstChildElement( "Project" );
QDomElement xmin = bookmark.firstChildElement( "xMin" );
QDomElement xmax = bookmark.firstChildElement( "xMax" );
QDomElement ymin = bookmark.firstChildElement( "yMin" );
QDomElement ymax = bookmark.firstChildElement( "yMax" );
QDomElement srid = bookmark.firstChildElement( "SRID" );

queries += "INSERT INTO tbl_bookmarks(bookmark_id,name,project_name,xmin,ymin,xmax,ymax,projection_srid)"
" VALUES (NULL,"
Expand Down

0 comments on commit f2f4a39

Please sign in to comment.