We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
qgis
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
1 parent 7ae3864 commit af0ddb6Copy full SHA for af0ddb6
src/core/qgsdataitem.cpp
@@ -744,6 +744,13 @@ QIcon QgsDirectoryItem::icon()
744
if ( state() == Populating )
745
return QgsDataItem::icon();
746
747
+ // symbolic link? use link icon
748
+ QFileInfo fi( mDirPath );
749
+ if ( fi.isDir() && fi.isSymLink() )
750
+ {
751
+ return QgsApplication::getThemeIcon( QStringLiteral( "mIconFolderLink.svg" ) );
752
+ }
753
+
754
// loaded? show the open dir icon
755
if ( state() == Populated )
756
return openDirIcon();
0 commit comments