Skip to content
Permalink
Browse files

browser remove favourite fix

  • Loading branch information
blazek committed Nov 20, 2014
1 parent 4757807 commit 907fb73d10bbc25fc4d4325ef75779ee1139a484
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/qgsdataitem.cpp
@@ -820,7 +820,7 @@ void QgsFavouritesItem::removeDirectory( QgsDirectoryItem *item )

QSettings settings;
QStringList favDirs = settings.value( "/browser/favourites" ).toStringList();
favDirs.removeAll( item->path() );
favDirs.removeAll( item->dirPath() );
settings.setValue( "/browser/favourites", favDirs );

int idx = findItem( mChildren, item );

0 comments on commit 907fb73

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