mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Merge branch 'staged' into dev
This commit is contained in:
commit
68468420a9
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