diff options
Diffstat (limited to 'options/bundle.hpp')
-rw-r--r-- | options/bundle.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/bundle.hpp b/options/bundle.hpp index 15965bc9..158fcef9 100644 --- a/options/bundle.hpp +++ b/options/bundle.hpp @@ -46,7 +46,7 @@ class OTR_OPTIONS_EXPORT bundle final : public QObject, public connector friend struct bundler; - mutable QRecursiveMutex mtx; + mutable QMutex mtx { QMutex::Recursive }; const QString group_name; group saved; group transient; @@ -62,7 +62,7 @@ public: bundle(const bundle&) = delete; bundle& operator=(const bundle&) = delete; - QRecursiveMutex* get_mtx() const override { return &mtx; } + QMutex* get_mtx() const override { return &mtx; } QString name() const { return group_name; } explicit bundle(const QString& group_name); |