Skip to content
Permalink
Browse files

fix #2293

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12604 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 23, 2009
1 parent eedea86 commit 98fd25ecb5a9e96c35c1778e3f88a8d7a6b40e2d
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/app/qgisapp.cpp
@@ -2559,7 +2559,7 @@ void QgisApp::addSpatiaLiteLayer()

// 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

0 comments on commit 98fd25e

Please sign in to comment.
You can’t perform that action at this time.