-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Instead of deprecated constructor QMutex(QMutex::RecursionMode), use recommended replacement class QRecursiveMutex. This deprecation was done only in the KDE branch of Qt, specifically in https://invent.kde.org/qt/qt/qtbase/-/commit/6d5988831862f081404270bd7fa2f25bc836fdc9. Since that commit is included in the Qt packaged for some Linux distributions (e.g. Arch Linux: https://archlinux.org/packages/extra/x86_64/qt5-base/), it seems worth respecting this deprecation. Since QRecursiveMutex was only introduced in Qt 5.14, whereas we need to support Qt 5.9.5 or better, this involves some #ifdef magic.
- Loading branch information
Showing
4 changed files
with
25 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters