diff --git a/src/corelib/thread/qmutex.h b/src/corelib/thread/qmutex.h index 8265086eb74..3e861ca0cb2 100644 --- a/src/corelib/thread/qmutex.h +++ b/src/corelib/thread/qmutex.h @@ -305,6 +305,9 @@ public: Q_UNUSED(timePoint); return true; } + +private: + Q_DISABLE_COPY(QMutex) }; class QRecursiveMutex : public QMutex {};