[QGIS Commit] r14267 - trunk/qgis/src/app/postgres

svn_qgis at osgeo.org svn_qgis at osgeo.org
Mon Sep 20 15:42:36 EDT 2010


Author: jef
Date: 2010-09-20 19:42:36 +0000 (Mon, 20 Sep 2010)
New Revision: 14267

Modified:
   trunk/qgis/src/app/postgres/qgspgnewconnection.cpp
   trunk/qgis/src/app/postgres/qgspgsourceselect.cpp
Log:
default to geometry postgres tables

Modified: trunk/qgis/src/app/postgres/qgspgnewconnection.cpp
===================================================================
--- trunk/qgis/src/app/postgres/qgspgnewconnection.cpp	2010-09-20 18:59:10 UTC (rev 14266)
+++ trunk/qgis/src/app/postgres/qgspgnewconnection.cpp	2010-09-20 19:42:36 UTC (rev 14267)
@@ -58,7 +58,7 @@
     txtPort->setText( port );
     cb_publicSchemaOnly->setChecked( settings.value( key + "/publicOnly", false ).toBool() );
     cb_geometryColumnsOnly->setChecked( settings.value( key + "/geometrycolumnsOnly", false ).toBool() );
-    cb_allowGeometrylessTables->setChecked( settings.value( key + "/allowGeometrylessTables", true ).toBool() );
+    cb_allowGeometrylessTables->setChecked( settings.value( key + "/allowGeometrylessTables", false ).toBool() );
     // Ensure that cb_publicSchemaOnly is set correctly
     on_cb_geometryColumnsOnly_clicked();
 

Modified: trunk/qgis/src/app/postgres/qgspgsourceselect.cpp
===================================================================
--- trunk/qgis/src/app/postgres/qgspgsourceselect.cpp	2010-09-20 18:59:10 UTC (rev 14266)
+++ trunk/qgis/src/app/postgres/qgspgsourceselect.cpp	2010-09-20 19:42:36 UTC (rev 14267)
@@ -429,7 +429,7 @@
 
   bool searchPublicOnly = settings.value( key + "/publicOnly" ).toBool();
   bool searchGeometryColumnsOnly = settings.value( key + "/geometryColumnsOnly" ).toBool();
-  bool allowGeometrylessTables = settings.value( key + "/allowGeometrylessTables", true ).toBool();
+  bool allowGeometrylessTables = settings.value( key + "/allowGeometrylessTables", false ).toBool();
   mUseEstimatedMetadata = settings.value( key + "/estimatedMetadata" ).toBool();
   // Need to escape the password to allow for single quotes and backslashes
 



More information about the QGIS-commit mailing list