diff --git a/images/images.qrc b/images/images.qrc index 939a26c9f65..568bdcd4ec7 100755 --- a/images/images.qrc +++ b/images/images.qrc @@ -615,6 +615,8 @@ themes/default/cursors/mZoomOut.svg themes/default/cursors/mIdentify.svg themes/default/mIconQgsProjectFile.svg + themes/default/mIconPythonFile.svg + themes/default/mIconQptFile.svg qgis_tips/symbol_levels.png diff --git a/images/themes/default/mIconPythonFile.svg b/images/themes/default/mIconPythonFile.svg new file mode 100644 index 00000000000..cf6f70323d8 --- /dev/null +++ b/images/themes/default/mIconPythonFile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/images/themes/default/mIconQptFile.svg b/images/themes/default/mIconQptFile.svg new file mode 100644 index 00000000000..7f92ff95766 --- /dev/null +++ b/images/themes/default/mIconQptFile.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/qgsappbrowserproviders.cpp b/src/app/qgsappbrowserproviders.cpp index d4661d4b326..78e880be10e 100644 --- a/src/app/qgsappbrowserproviders.cpp +++ b/src/app/qgsappbrowserproviders.cpp @@ -139,7 +139,7 @@ QgsQptDataItem::QgsQptDataItem( QgsDataItem *parent, const QString &name, const : QgsDataItem( QgsDataItem::Custom, parent, name, path ) { setState( QgsDataItem::Populated ); // no children - setIconName( QStringLiteral( ":/images/icons/qgis-icon-16x16.png" ) ); + setIconName( QStringLiteral( "/mIconQptFile.svg" ) ); setToolTip( QDir::toNativeSeparators( path ) ); } @@ -182,7 +182,7 @@ QgsPyDataItem::QgsPyDataItem( QgsDataItem *parent, const QString &name, const QS : QgsDataItem( QgsDataItem::Custom, parent, name, path ) { setState( QgsDataItem::Populated ); // no children - setIconName( QStringLiteral( ":/images/icons/qgis-icon-16x16.png" ) ); + setIconName( QStringLiteral( "/mIconPythonFile.svg" ) ); setToolTip( QDir::toNativeSeparators( path ) ); }