Skip to content

Commit 2f3f6ef

Browse files
author
jef
committedAug 22, 2009

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2622,7 +2622,7 @@ void QgisApp::addDatabaseLayer()
26222622

26232623
// create the layer
26242624
//qWarning("creating layer");
2625-
QgsVectorLayer *layer = new QgsVectorLayer( connectionInfo + " table=" + *it, *it, "postgres" );
2625+
QgsVectorLayer *layer = new QgsVectorLayer( connectionInfo + " " + *it, *it, "postgres" );
26262626
if ( layer->isValid() )
26272627
{
26282628
// register this layer with the central layers registry

‎src/app/qgsdbsourceselect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ void QgsDbSourceSelect::on_mSearchColumnComboBox_currentIndexChanged( const QStr
184184
{
185185
mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmGeomCol );
186186
}
187-
else if ( text == tr( "Primay key column" ) )
187+
else if ( text == tr( "Primary key column" ) )
188188
{
189189
mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmPkCol );
190190
}

0 commit comments

Comments
 (0)
Please sign in to comment.