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

svn_qgis at osgeo.org svn_qgis at osgeo.org
Wed Dec 23 16:17:16 EST 2009


Author: jef
Date: 2009-12-23 16:17:15 -0500 (Wed, 23 Dec 2009)
New Revision: 12604

Modified:
   trunk/qgis/src/app/qgisapp.cpp
Log:
fix #2293

Modified: trunk/qgis/src/app/qgisapp.cpp
===================================================================
--- trunk/qgis/src/app/qgisapp.cpp	2009-12-23 20:51:01 UTC (rev 12603)
+++ trunk/qgis/src/app/qgisapp.cpp	2009-12-23 21:17:15 UTC (rev 12604)
@@ -2559,7 +2559,7 @@
 
       // create the layer
       //qWarning("creating layer");
-      QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ")", layername, "spatialite" );
+      QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ") sql=", layername, "spatialite" );
       if ( layer->isValid() )
       {
         // register this layer with the central layers registry



More information about the QGIS-commit mailing list