Skip to content
Permalink
Browse files

fix #2556

git-svn-id: http://svn.osgeo.org/qgis/trunk@13061 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Mar 15, 2010
1 parent 3f6c7c1 commit 8dd0d02d45fb13ecbdb0770646a1f35b92c03a6b
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/app/ogr/qgsogrsublayersdialog.cpp
@@ -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 );
}

@@ -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;

0 comments on commit 8dd0d02

Please sign in to comment.
You can’t perform that action at this time.