Skip to content

Commit 98fd25e

Browse files
author
jef
committedDec 23, 2009

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/app/qgisapp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2559,7 +2559,7 @@ void QgisApp::addSpatiaLiteLayer()
25592559

25602560
// create the layer
25612561
//qWarning("creating layer");
2562-
QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ")", layername, "spatialite" );
2562+
QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ") sql=", layername, "spatialite" );
25632563
if ( layer->isValid() )
25642564
{
25652565
// register this layer with the central layers registry

0 commit comments

Comments
 (0)
Please sign in to comment.