Skip to content

Commit

Permalink
fix #2556
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@13061 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Mar 15, 2010
1 parent f69e9c9 commit 9421e9c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/ogr/qgsogrsublayersdialog.cpp
Expand Up @@ -23,7 +23,7 @@ QgsOGRSublayersDialog::QgsOGRSublayersDialog( QWidget* parent, Qt::WFlags fl )
: QDialog( parent, fl )
{
setupUi( this );
QStringList labels = QStringList() << "Layer ID" << "Layer name" << "Nb of features" << "Geometry type";
QStringList labels = QStringList() << tr("Layer ID") << tr("Layer name") << tr("Nb of features") << tr("Geometry type");
layersTable->setHeaderLabels( labels );
}

Expand All @@ -34,9 +34,9 @@ QgsOGRSublayersDialog::~QgsOGRSublayersDialog()
QStringList QgsOGRSublayersDialog::getSelection()
{
QStringList list = QStringList();
for ( int i = 0; i < layersTable-> selectedItems().size(); i++ )
for ( int i = 0; i < layersTable->selectedItems().size(); i++ )
{
QString theItem = layersTable-> selectedItems().at( i )->text( 1 );
QString theItem = layersTable->selectedItems().at( i )->text( 1 );
list.append( theItem );
}
return list;
Expand Down

0 comments on commit 9421e9c

Please sign in to comment.