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

fix bugs and memory leaks #4

Open
wants to merge 1 commit into
base: modelview
Choose a base branch
from

Conversation

andrejlevkovitch
Copy link

Here was seweral bugs and memoryleaks, so I fix that. Most serious bug - with boundingRect on NodeGraphicsObject and ConnectionGraphicsObject. If you change location of some node, and set new connection from it (for example) you can gеt error - usage pure virtual method. I set geometry classes as freands of graphics classes and fix that. Also here was bug with resizing of node - I change sequance of methods and now position of proxywidget set AFTER recalculate of size.

@russelltg
Copy link
Member

russelltg commented Dec 28, 2018

Is there good motivation behind all the whitespace changes?

It really makes the pull request difficult to read. I was trying to keep the style of the original project

@andrejlevkovitch
Copy link
Author

I just format code by clang-format when fixes this, but repository haven't any .clang-format file for convert back, so I uses most familiar style - mozilla. Sorry about this.

@andrejlevkovitch
Copy link
Author

Wath about add .clang-format file with custom style to repository?

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.

2 participants