Skip to content

Commit

Permalink
fix #2293
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12604 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed Dec 23, 2009
1 parent eedea86 commit 98fd25e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/qgisapp.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 98fd25e

Please sign in to comment.