diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-08 13:00:05 +0100 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2024-02-13 18:48:00 +0100 |
commit | 9f125e0dff3f6e7b4d4079218db459ee328af46c (patch) | |
tree | 3b6910113461e9347bd0f359c9985807dd03eb33 | |
parent | 9d9601721f0dc08dec86479e6137301e88391d52 (diff) |
QtHelp: Deprecate protected c'tor of QHelpEngineCore
Not needed anymore.
Task-number: QTBUG-122025
Change-Id: I2184d91cb76d7f90ba9c9de3f74fc105d3bac254
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
-rw-r--r-- | src/assistant/help/qhelpenginecore.cpp | 2 | ||||
-rw-r--r-- | src/assistant/help/qhelpenginecore.h | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/assistant/help/qhelpenginecore.cpp b/src/assistant/help/qhelpenginecore.cpp index f16951638..372c86b25 100644 --- a/src/assistant/help/qhelpenginecore.cpp +++ b/src/assistant/help/qhelpenginecore.cpp @@ -176,10 +176,12 @@ QHelpEngineCore::QHelpEngineCore(const QString &collectionFile, QObject *parent) /*! \internal */ +#if QT_DEPRECATED_SINCE(6, 8) QHelpEngineCore::QHelpEngineCore(QHelpEngineCorePrivate *helpEngineCorePrivate, QObject *parent) : QObject(parent) , d(helpEngineCorePrivate) {} +#endif /*! Destructs the help engine. diff --git a/src/assistant/help/qhelpenginecore.h b/src/assistant/help/qhelpenginecore.h index d01aa24e3..6fbb559b2 100644 --- a/src/assistant/help/qhelpenginecore.h +++ b/src/assistant/help/qhelpenginecore.h @@ -100,8 +100,9 @@ Q_SIGNALS: // #endif protected: - // TODO: Deprecate me +#if QT_DEPRECATED_SINCE(6, 8) QHelpEngineCore(QHelpEngineCorePrivate *helpEngineCorePrivate, QObject *parent); +#endif private: // TODO: Temporary, it's going to be removed in subsequent patches. |