From 889864a923977504ef79b4c90e112e26df9f4539 Mon Sep 17 00:00:00 2001 From: ngn999 Date: Wed, 30 Mar 2022 22:08:58 +0800 Subject: [PATCH] fix a deaklock in porting from QWebKit to QWebEngine --- mutex.hh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mutex.hh b/mutex.hh index 6f4d28b9..4c55dbcd 100644 --- a/mutex.hh +++ b/mutex.hh @@ -4,16 +4,16 @@ #ifndef __MUTEX_HH_INCLUDED__ #define __MUTEX_HH_INCLUDED__ -#include +#include /// This provides a mutex class. As you can see, it's just a Qt one, but it /// does provide the Lock class which doesn't seem to exist in Qt, and it does /// provide some abstraction for dictionaries in case they are to be ported /// away from Qt. -class Mutex: public QMutex +class Mutex: public QRecursiveMutex { public: - Mutex() : QMutex( ) + Mutex() : QRecursiveMutex( ) {} ~Mutex() {}