Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Fix ordering of Arcgis map server item
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/providers/arcgisrest/qgsamsprovider.cpp
|
@@ -464,7 +464,7 @@ class QgsAmsSourceSelectProvider : public QgsSourceSelectProvider |
|
|
|
|
|
virtual QString providerKey() const override { return QStringLiteral( "arcgismapserver" ); } |
|
|
virtual QString text() const override { return QObject::tr( "ArcGIS Map Server" ); } |
|
|
virtual int ordering() const override { return 130; } |
|
|
virtual int ordering() const override { return QgsSourceSelectProvider::OrderRemoteProvider + 140; } |
|
|
virtual QIcon icon() const override { return QgsApplication::getThemeIcon( QStringLiteral( "/mActionAddAmsLayer.svg" ) ); } |
|
|
virtual QgsAbstractDataSourceWidget *createDataSourceWidget( QWidget *parent = nullptr, Qt::WindowFlags fl = Qt::Widget, QgsProviderRegistry::WidgetMode widgetMode = QgsProviderRegistry::WidgetMode::Embedded ) const override |
|
|
{ |
|
|