Skip to content
Permalink
Browse files

Revert data provider key on items (still waiting for Peter answer)

  • Loading branch information
elpaso committed Jul 16, 2020
1 parent 98496a2 commit 9cb34b6c4b6223192dd7c1691a88ac8047ee55ff
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsbrowsermodel.cpp
@@ -777,7 +777,7 @@ QgsDataItem *QgsBrowserModel::addProviderRootItem( QgsDataItemProvider *pr )
if ( item )
{
// make sure the top level key is set always
item->setProviderKey( pr->dataProviderKey() );
item->setProviderKey( pr->name() );
// Forward the signal from the root items to the model (and then to the app)
connect( item, &QgsDataItem::connectionsChanged, this, &QgsBrowserModel::onConnectionsChanged );
QgsDebugMsgLevel( "Add new top level item : " + item->name(), 4 );

0 comments on commit 9cb34b6

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