mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
fix deprecation of QMutex::Recursive in favor of QRecursiveMutex (#4328)
This commit is contained in:
@@ -88,7 +88,11 @@ private slots:
|
||||
void doStartGameIfReady();
|
||||
|
||||
public:
|
||||
#if (QT_VERSION >= QT_VERSION_CHECK(5, 14, 0))
|
||||
mutable QRecursiveMutex gameMutex;
|
||||
#else
|
||||
mutable QMutex gameMutex;
|
||||
#endif
|
||||
Server_Game(const ServerInfo_User &_creatorInfo,
|
||||
int _gameId,
|
||||
const QString &_description,
|
||||
|
||||
Reference in New Issue
Block a user