We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent eedea86 commit 98fd25eCopy full SHA for 98fd25e
src/app/qgisapp.cpp
@@ -2559,7 +2559,7 @@ void QgisApp::addSpatiaLiteLayer()
2559
2560
// create the layer
2561
//qWarning("creating layer");
2562
- QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ")", layername, "spatialite" );
+ QgsVectorLayer *layer = new QgsVectorLayer( "dbname='" + connectionInfo + "' table=" + *it + ") sql=", layername, "spatialite" );
2563
if ( layer->isValid() )
2564
{
2565
// register this layer with the central layers registry
0 commit comments