Skip to content
Permalink
Browse files

browser restore favourites fix

  • Loading branch information
blazek committed Nov 20, 2014
1 parent 907fb73 commit afd32fdc68735af746a92b4d4fddcae8f5fdb4bc
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/core/qgsdataitem.cpp
@@ -792,7 +792,9 @@ QVector<QgsDataItem*> QgsFavouritesItem::createChildren()

foreach ( QString favDir, favDirs )
{
QgsDataItem *item = new QgsDirectoryItem( this, favDir, favDir, mPath + favDir );
QString pathName = favDir;
pathName.replace( QRegExp( "[\\\\/]" ), "|" );
QgsDataItem *item = new QgsDirectoryItem( this, favDir, favDir, mPath + "/" + pathName );
if ( item )
{
children.append( item );

0 comments on commit afd32fd

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