Skip to content

Remove QgsProject::instance() references from QgsMapViewsManager (QEP 423) - #67472

Open
JanCaha wants to merge 2 commits into
qgis:masterfrom
JanCaha:remove-qgisproject-instance-from-QgsMapViewsManager
Open

JanCaha wants to merge 2 commits into
qgis:masterfrom
JanCaha:remove-qgisproject-instance-from-QgsMapViewsManager

Conversation

@JanCaha

@JanCaha JanCaha commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

Description

Remove QgsProject::instance() from QgsMapViewsManager. The project is passed as required constructor argument and actually stored as parent of QObject. So it can be obtained from there.

AI tool usage

  • AI tool(s) (Copilot, Claude, or something similar) supported my development of this PR.

@github-actions github-actions Bot added this to the 4.4.0 milestone Sep 17, 2026
@github-actions

github-actions Bot commented Sep 17, 2026

Copy link
Copy Markdown
Contributor

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
To execute locally, unzip the downloaded zip file and run bin\qgis-bin.exe in the extracted directory.
You might be prompted by Windows Defender click "Run anyway"
(Built from commit 6ff0465)

🍎 MacOS Qt6 builds

Download MacOS Qt6 builds of this PR for testing.
This app is not notarized, run sudo xattr -d com.apple.quarantine /Applications/QGIS*.app to avoid the warning
(Built from commit 6ff0465)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant