diff --git a/src/corelib/time/qcalendar.cpp b/src/corelib/time/qcalendar.cpp index 8f545515fe..4631c9a94c 100644 --- a/src/corelib/time/qcalendar.cpp +++ b/src/corelib/time/qcalendar.cpp @@ -88,6 +88,8 @@ namespace QtPrivate { */ class QCalendarRegistry { + Q_DISABLE_COPY_MOVE(QCalendarRegistry); // This is a singleton. + /* Lock protecting the registry from concurrent modification. */