Skip to content

Commit 907fb73

Browse files
committed
browser remove favourite fix
1 parent 4757807 commit 907fb73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/qgsdataitem.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -820,7 +820,7 @@ void QgsFavouritesItem::removeDirectory( QgsDirectoryItem *item )
820820

821821
QSettings settings;
822822
QStringList favDirs = settings.value( "/browser/favourites" ).toStringList();
823-
favDirs.removeAll( item->path() );
823+
favDirs.removeAll( item->dirPath() );
824824
settings.setValue( "/browser/favourites", favDirs );
825825

826826
int idx = findItem( mChildren, item );

0 commit comments

Comments
 (0)