Skip to content

Commit

Permalink
browser remove favourite fix
Browse files Browse the repository at this point in the history
  • Loading branch information
blazek committed Nov 20, 2014
1 parent 4757807 commit 907fb73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/qgsdataitem.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 907fb73

Please sign in to comment.