Commit c78d6789 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Using QMutex in recursive mode is deprecated.

parent 652828df
Pipeline #47202 passed with stage
in 19 minutes and 43 seconds
......@@ -19,7 +19,7 @@ using namespace Akonadi::Search;
XapianSearchStore::XapianSearchStore(QObject *parent)
: SearchStore(parent)
, m_mutex(QMutex::Recursive)
, m_mutex()
, m_nextId(1)
{
}
......
......@@ -89,7 +89,7 @@ protected:
Xapian::Database *xapianDb();
protected:
QMutex m_mutex;
QRecursiveMutex m_mutex;
private:
Xapian::Query toXapianQuery(const Term &term);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment