Skip to content

Fix wrong QGraphicsView cast#522

Open
bansan85 wants to merge 1 commit intopaceholder:masterfrom
bansan85:fix-wrong-cast-viewport
Open

Fix wrong QGraphicsView cast#522
bansan85 wants to merge 1 commit intopaceholder:masterfrom
bansan85:fix-wrong-cast-viewport

Conversation

@bansan85
Copy link
Copy Markdown
Contributor

@bansan85 bansan85 commented May 5, 2026

Type of change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation/refactoring

Description

I built nodeeditor with address sanitizer. App crashes when I try to create a link connection with my mouse.

I need an opengl context. So I inherited GraphicsView and I setViewport with a QOpenGLWidget.

With this patch, I can create a link connection.

Testing

  • Qt version tested: 6.6
  • Existing tests still pass : not tested but it shouldn't.
  • Added tests for new functionality (if applicable)

Breaking changes?

No

Related issue

No

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