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

Use directly QRecursiveMutex

parent 48ce1e72
Pipeline #172024 passed with stage
in 59 seconds
......@@ -40,8 +40,7 @@ static bool firstCaller = true;
KMixApp::KMixApp()
: QObject(),
m_kmix(nullptr),
creationLock(QMutex::Recursive)
m_kmix(nullptr)
{
// We must disable QuitOnLastWindowClosed. Rationale:
// 1) The normal state of KMix is to only have the dock icon shown.
......
......@@ -46,7 +46,7 @@ private:
void createWindowOnce(bool hasArgKeepvisibility, bool reset);
KMixWindow *m_kmix;
QMutex creationLock;
QRecursiveMutex creationLock;
bool m_hasArgKeepvisibility;
bool m_hasArgReset;
};
......
Supports Markdown
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