From e7a675f1720bea09679d7387bf92d98a4dd63033 Mon Sep 17 00:00:00 2001 From: jef Date: Sat, 22 Aug 2009 20:22:47 +0000 Subject: [PATCH] missed a file in r11479 git-svn-id: http://svn.osgeo.org/qgis/trunk@11487 c8812cc2-4d05-0410-92ff-de0c093fc19c --- src/app/qgisapp.cpp | 2 +- src/app/qgsdbsourceselect.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/qgisapp.cpp b/src/app/qgisapp.cpp index ed835137520a..8042a8f58097 100644 --- a/src/app/qgisapp.cpp +++ b/src/app/qgisapp.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 diff --git a/src/app/qgsdbsourceselect.cpp b/src/app/qgsdbsourceselect.cpp index d7efe89e531c..f4a9e019face 100644 --- a/src/app/qgsdbsourceselect.cpp +++ b/src/app/qgsdbsourceselect.cpp @@ -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 ); }