diff options
Diffstat (limited to 'options/globals.hpp')
-rw-r--r-- | options/globals.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/options/globals.hpp b/options/globals.hpp index 7af6533d..e0146a43 100644 --- a/options/globals.hpp +++ b/options/globals.hpp @@ -7,7 +7,7 @@ #include <QString> #include <QSettings> -#include <QMutex> +#include <QRecursiveMutex> namespace options::globals::detail { @@ -17,7 +17,7 @@ struct OTR_OPTIONS_EXPORT ini_ctx { std::optional<QSettings> qsettings { std::in_place }; QString pathname; - QMutex mtx { QMutex::Recursive }; + QRecursiveMutex mtx; unsigned refcount = 0; bool modifiedp = false; |