mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-23 20:14:05 +00:00
revert mutex parent class from qrecursivemutex to qmutex
This commit is contained in:
parent
7a43cc366e
commit
3d3088738e
6
mutex.hh
6
mutex.hh
|
@ -4,16 +4,16 @@
|
|||
#ifndef __MUTEX_HH_INCLUDED__
|
||||
#define __MUTEX_HH_INCLUDED__
|
||||
|
||||
#include <QRecursiveMutex>
|
||||
#include <QMutex>
|
||||
|
||||
/// 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 QRecursiveMutex
|
||||
class Mutex : public QMutex
|
||||
{
|
||||
public:
|
||||
Mutex() : QRecursiveMutex()
|
||||
Mutex() : QMutex()
|
||||
{}
|
||||
~Mutex()
|
||||
{}
|
||||
|
|
Loading…
Reference in a new issue