[QGIS Commit] r11487 - trunk/qgis/src/app

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sat Aug 22 16:22:49 EDT 2009


Author: jef
Date: 2009-08-22 16:22:47 -0400 (Sat, 22 Aug 2009)
New Revision: 11487

Modified:
   trunk/qgis/src/app/qgisapp.cpp
   trunk/qgis/src/app/qgsdbsourceselect.cpp
Log:
missed a file in r11479

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-08-22 17:27:06 UTC (rev 11486)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-08-22 20:22:47 UTC (rev 11487)
@@ -2622,7 +2622,7 @@
 
       // 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

Modified: trunk/qgis/src/app/qgsdbsourceselect.cpp
===================================================================
--- trunk/qgis/src/app/qgsdbsourceselect.cpp	2009-08-22 17:27:06 UTC (rev 11486)
+++ trunk/qgis/src/app/qgsdbsourceselect.cpp	2009-08-22 20:22:47 UTC (rev 11487)
@@ -184,7 +184,7 @@
   {
     mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmGeomCol );
   }
-  else if ( text == tr( "Primay key column" ) )
+  else if ( text == tr( "Primary key column" ) )
   {
     mProxyModel.setFilterKeyColumn( QgsDbTableModel::dbtmPkCol );
   }



More information about the QGIS-commit mailing list