You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Backport of #4742
Prevent expansion of WMS connection layers when restoring the browser.
This was causing unwanted connections to WMS and other providers when QGIS starts.
Copy file name to clipboardExpand all lines: python/core/qgsdataitem.sip
+2-1
Original file line number
Diff line number
Diff line change
@@ -143,7 +143,8 @@ class QgsDataItem : QObject
143
143
NoCapabilities,
144
144
SetCrs, //!< Can set CRS on layer or group of layers
145
145
Fertile, //!< Can create children. Even items without this capability may have children, but cannot create them, it means that children are created by item ancestors.
146
-
Fast //!< createChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QSettings
146
+
Fast, //!< createChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QSettings
147
+
Collapse //!< The collapse/expand status for this items children should be ignored in order to avoid undesired network connections (wms etc.)
Copy file name to clipboardExpand all lines: src/core/qgsdataitem.h
+2-1
Original file line number
Diff line number
Diff line change
@@ -170,7 +170,8 @@ class CORE_EXPORT QgsDataItem : public QObject
170
170
NoCapabilities = 0,
171
171
SetCrs = 1 << 0, //!< Can set CRS on layer or group of layers
172
172
Fertile = 1 << 1, //!< Can create children. Even items without this capability may have children, but cannot create them, it means that children are created by item ancestors.
173
-
Fast = 1 << 2//!< createChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QSettings
173
+
Fast = 1 << 2, //!< createChildren() is fast enough to be run in main thread when refreshing items, most root items (wms,wfs,wcs,postgres...) are considered fast because they are reading data only from QSettings
174
+
Collapse = 1 << 3//!< The collapse/expand status for this items children should be ignored in order to avoid undesired network connections (wms etc.)
0 commit comments