summaryrefslogtreecommitdiffhomepage
path: root/options/globals.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-07-29 15:55:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-07-29 15:55:09 +0200
commiteded65bbcabd8e2267ef3a1d7df467ab403b27e0 (patch)
treee8352bd3fdaa3ae582880945938d6eef21ffc480 /options/globals.hpp
parent2112db0a98a2cd14b25828a5bc84bddc423712bf (diff)
to rebasefeature/qt6
Diffstat (limited to 'options/globals.hpp')
-rw-r--r--options/globals.hpp4
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;