We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the following function:
void DrawingAnchor::loadXmlObjectConnectionShape(QXmlStreamReader &reader)
The following code is called:
else if (reader.name() == QLatin1String("off")) { posTA = loadXmlPos(reader); hasoffext = true;
That is wrong. It will try to call the following method:
QPoint DrawingAnchor::loadXmlPos(QXmlStreamReader &reader) { Q_ASSERT(reader.name() == QLatin1String("pos")); QPoint pos; QXmlStreamAttributes attrs = reader.attributes(); pos.setX(attrs.value(QLatin1String("x")).toInt()); pos.setY(attrs.value(QLatin1String("y")).toInt()); return pos; }
But since the reader's name is "off" and not "pos", the assert will fail and the program will crash.
I cannot send the spreadsheet I noticed causing this issue, so this is the best I can give you.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the following function:
void DrawingAnchor::loadXmlObjectConnectionShape(QXmlStreamReader &reader)
The following code is called:
That is wrong. It will try to call the following method:
But since the reader's name is "off" and not "pos", the assert will fail and the program will crash.
I cannot send the spreadsheet I noticed causing this issue, so this is the best I can give you.
The text was updated successfully, but these errors were encountered: