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

QFontMetrics width() method deprecated #260

Open
Daguerreo opened this issue Mar 9, 2020 · 0 comments
Open

QFontMetrics width() method deprecated #260

Daguerreo opened this issue Mar 9, 2020 · 0 comments

Comments

@Daguerreo
Copy link

@Daguerreo Daguerreo commented Mar 9, 2020

NodeGeometry.cpp line 359

    width = std::max(unsigned(_fontMetrics.width(name)),
                     width);

is deprecated. Use QFontMetrics::horizontalAdvance.

@Daguerreo Daguerreo changed the title QFonMetrics width() method deprecated QFontMetrics width() method deprecated Apr 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.