Skip to content
Permalink
Browse files

Change order of XYZ tiles

  • Loading branch information
NathanW2 committed Feb 19, 2018
1 parent fc98c84 commit 19328dda926b1e7098477b2965e627e11bf11eca
@@ -26,7 +26,7 @@ class QgsAfsRootItem : public QgsDataCollectionItem
QgsAfsRootItem( QgsDataItem *parent, const QString &name, const QString &path );
QVector<QgsDataItem *> createChildren() override;

QVariant sortKey() const override { return 12; }
QVariant sortKey() const override { return 13; }

#ifdef HAVE_GUI
QList<QAction *> actions( QWidget *parent ) override;
@@ -29,7 +29,7 @@ class QgsAmsRootItem : public QgsDataCollectionItem

QVector<QgsDataItem *> createChildren() override;

QVariant sortKey() const override { return 11; }
QVariant sortKey() const override { return 12; }

#ifdef HAVE_GUI
QList<QAction *> actions( QWidget *parent ) override;
@@ -48,7 +48,7 @@ class QgsOWSRootItem : public QgsDataCollectionItem

QVector<QgsDataItem *> createChildren() override;

QVariant sortKey() const override { return 10; }
QVariant sortKey() const override { return 11; }

#ifdef HAVE_GUI
QList<QAction *> actions( QWidget *parent ) override;
@@ -70,7 +70,7 @@ class QgsWCSRootItem : public QgsDataCollectionItem

QVector<QgsDataItem *> createChildren() override;

QVariant sortKey() const override { return 8; }
QVariant sortKey() const override { return 9; }

#ifdef HAVE_GUI
QList<QAction *> actions( QWidget *parent ) override;
@@ -137,6 +137,8 @@ class QgsXyzTileRootItem : public QgsDataCollectionItem

QVector<QgsDataItem *> createChildren() override;

QVariant sortKey() const override { return 8; }

#ifdef HAVE_GUI
QList<QAction *> actions( QWidget *parent ) override;
#endif

0 comments on commit 19328dd

Please sign in to comment.
You can’t perform that action at this time.