diff options
| author | Stanislaw Halik <sthalik@misaki.pl> | 2025-04-25 08:01:32 +0200 |
|---|---|---|
| committer | Stanislaw Halik <sthalik@misaki.pl> | 2025-05-16 08:54:13 +0200 |
| commit | 78f8c6c81c2e900aa1cb433940667a054cc0b6ed (patch) | |
| tree | b03c5c96e1d45645a5528d2007f343f21bd46f48 /options/globals.hpp | |
| parent | 1f737463587fec21337631bc0320718b49fde26c (diff) | |
buffer flush
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 af242dc9..1a92cc47 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; |
