Skip to content
Permalink
Browse files

missed a file in r11479

git-svn-id: http://svn.osgeo.org/qgis/trunk@11487 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Aug 22, 2009
1 parent 0de98f6 commit e7a675f1720bea09679d7387bf92d98a4dd63033
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/app/qgisapp.cpp
  2. +1 −1 src/app/qgsdbsourceselect.cpp
@@ -2622,7 +2622,7 @@ void QgisApp::addDatabaseLayer()

// create the layer
//qWarning("creating layer");
QgsVectorLayer *layer = new QgsVectorLayer( connectionInfo + " table=" + *it, *it, "postgres" );
QgsVectorLayer *layer = new QgsVectorLayer( connectionInfo + " " + *it, *it, "postgres" );
if ( layer->isValid() )
{
// register this layer with the central layers registry
@@ -184,7 +184,7 @@ void QgsDbSourceSelect::on_mSearchColumnComboBox_currentIndexChanged( const QStr
{
mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmGeomCol );
}
else if ( text == tr( "Primay key column" ) )
else if ( text == tr( "Primary key column" ) )
{
mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmPkCol );
}

0 comments on commit e7a675f

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