Skip to content

Commit 08496c4

Browse files
DelazJgithub-actions[bot]
authored andcommitted
Fix "Metadata Search" tab toolTip in Data source Manager
1 parent 4e42f4d commit 08496c4

File tree

4 files changed

+9
-2
lines changed

4 files changed

+9
-2
lines changed

python/core/auto_generated/qgsiconutils.sip.in

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ Returns the icon for a vector layer whose geometry ``type`` is provided.
3030
static QIcon iconForGeometryType( Qgis::GeometryType typeGroup );
3131
%Docstring
3232
Returns the icon for a vector layer whose geometry ``typeGroup`` is provided.
33-
1since QGIS 3.28
33+
34+
.. versionadded:: 3.28
3435
%End
3536

3637
static QIcon iconPoint();

src/core/qgsiconutils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class CORE_EXPORT QgsIconUtils
4242

4343
/**
4444
* Returns the icon for a vector layer whose geometry \a typeGroup is provided.
45-
* 1since QGIS 3.28
45+
* \since QGIS 3.28
4646
*/
4747
static QIcon iconForGeometryType( Qgis::GeometryType typeGroup );
4848

src/gui/qgslayermetadatasourceselectprovider.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,11 @@ QString QgsLayerMetadataSourceSelectProvider::text() const
3434
return QObject::tr( "Metadata Search" );
3535
}
3636

37+
QString QgsLayerMetadataSourceSelectProvider::toolTip() const
38+
{
39+
return QObject::tr( "Search and add layer metadata" );
40+
}
41+
3742
QIcon QgsLayerMetadataSourceSelectProvider::icon() const
3843
{
3944
return QgsApplication::getThemeIcon( QStringLiteral( "search.svg" ) );

src/gui/qgslayermetadatasourceselectprovider.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class GUI_EXPORT QgsLayerMetadataSourceSelectProvider : public QgsSourceSelectPr
3939
public:
4040
QString providerKey() const override;
4141
QString text() const override;
42+
QString toolTip() const override;
4243
QIcon icon() const override;
4344
QgsAbstractDataSourceWidget *createDataSourceWidget( QWidget *parent, Qt::WindowFlags fl, QgsProviderRegistry::WidgetMode widgetMode ) const override;
4445
int ordering() const override;

0 commit comments

Comments
 (0)