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 Qt 5.11 deprecation warning for QFontMetrics::width #1137

Merged
merged 1 commit into from Sep 29, 2019

Conversation

brainplot
Copy link
Contributor

@brainplot brainplot commented Sep 25, 2019

Building on my Arch Linux box with Qt 5.13.1 installed showed a few warnings saying that the QFontMetrics::width() and QDir::operator=(const QString&) were deprecated. I replaced them with the new alternatives and wrapped them with a compile-time check, which wasn't needed for QDir::operator=(const QDir&). Now it should compile cleanly.

Since I saw you already made a very similar fix, by skimming through the log, I reused the same commit message of that old commit.

@trollixx trollixx merged commit 99d2cee into zealdocs:master Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants