Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Make 'WMS/WMTS' untranslatable in QgsWmsSourceSelectProvider::text()
Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion .
+1
−1
src/providers/wms/qgswmsprovider.cpp
@@ -4240,7 +4240,7 @@ class QgsWmsSourceSelectProvider : public QgsSourceSelectProvider
public:
QString providerKey () const override { return QStringLiteral ( " wms" ); }
QString text () const override { return QObject::tr ( " WMS/WMTS" ); }
QString text () const override { return QStringLiteral ( " WMS/WMTS" ); } // untranslatable string as acronym for this particular case. Use QObject::tr() otherwise
int ordering () const override { return QgsSourceSelectProvider::OrderRemoteProvider + 10 ; }
QIcon icon () const override { return QgsApplication::getThemeIcon ( QStringLiteral ( " /mActionAddWmsLayer.svg" ) ); }
QgsAbstractDataSourceWidget *createDataSourceWidget ( QWidget *parent = nullptr , Qt::WindowFlags fl = Qt::Widget, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::Embedded ) const override
Toggle all file notes