Skip to content
Permalink
Browse files

fix #2293

git-svn-id: http://svn.osgeo.org/qgis/trunk@12604 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef
jef committed Dec 23, 2009
1 parent 2dc2034 commit 286893af2fdb187e6d4764a3cb104eb04c0bc0af
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 286893a

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