Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setAutoRefreshEnabled(bool) is deprecated #8798

Merged
merged 3 commits into from
Jan 22, 2024

Conversation

DelazJ
Copy link
Collaborator

@DelazJ DelazJ commented Jan 22, 2024

Fixes the deprecation warning at https://github.com/qgis/QGIS-Documentation/actions/runs/7612232660/job/20729401705#step:8:728

Document: docs/pyqgis_developer_cookbook/cheat_sheet

Logged warning: Duplicate provider native registered
<doctest cheat_sheet[0]>:7: DeprecationWarning: QgsMapLayer.setAutoRefreshEnabled() is deprecated
layer.setAutoRefreshEnabled(True)
QSortFilterProxyModel: index from wrong model passed to mapToSource

@DelazJ DelazJ added PyQGIS Cookbook Code Python, Processing, R, ... backport release_3.34 On merge create a backported pull request to 3.34 labels Jan 22, 2024
@DelazJ DelazJ enabled auto-merge (rebase) January 22, 2024 14:47
@DelazJ DelazJ disabled auto-merge January 22, 2024 14:48
@DelazJ DelazJ enabled auto-merge (squash) January 22, 2024 14:48
@DelazJ DelazJ merged commit e3bdc90 into qgis:master Jan 22, 2024
@DelazJ DelazJ deleted the setAutoRefreshEnabled branch January 22, 2024 14:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport release_3.34 On merge create a backported pull request to 3.34 Code Python, Processing, R, ... PyQGIS Cookbook
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant