Skip to content

Commit

Permalink
fix #29702 , setup /Volumes connections
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterPetrik authored and nyalldawson committed Oct 1, 2020
1 parent 9d9d0c0 commit b23288b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/qgsbrowsermodel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ void QgsBrowserModel::addRootItems()
#ifdef Q_OS_MAC
QString path = QString( "/Volumes" );
QgsDirectoryItem *vols = new QgsDirectoryItem( nullptr, path, path, path, QStringLiteral( "special:Volumes" ) );
setupItemConnections( vols );
mRootItems << vols;
#endif

Expand Down

0 comments on commit b23288b

Please sign in to comment.