diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-08-02 16:07:49 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2018-10-17 09:58:47 +0000 |
commit | b868a1a4babd82ee652edfbd816c5aa6f9392c71 (patch) | |
tree | 6698f7646f2e7692ccde54f6bd7ee0e941cd1b84 /src/assistant/help/qhelpengine.cpp | |
parent | 10b3e1eb28b9d4190bdb40bfde9ca2a629e0dd0c (diff) | |
download | qttools-b868a1a4babd82ee652edfbd816c5aa6f9392c71.tar.gz |
Obsolete readersAboutToBeInvalidated()
There is not anymore any "reader" for the content and index providers.
They were removed in commit 829f9dec6bff57e8b3f1afdc982778a9d573174f
in 5.11 branch, when introducing the index
and contents caches in qhc file.
Also currently readersAboutToBeInvalidated() wasn't used anymore anywhere,
so this patch just removes the emission of this signal.
Change-Id: Ie1a0f7535d497687ff74472528fffdc85cba3a3b
Reviewed-by: Kai Koehne <kai.koehne@qt.io>
Diffstat (limited to 'src/assistant/help/qhelpengine.cpp')
-rw-r--r-- | src/assistant/help/qhelpengine.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/assistant/help/qhelpengine.cpp b/src/assistant/help/qhelpengine.cpp index 966c33354..28825e2ed 100644 --- a/src/assistant/help/qhelpengine.cpp +++ b/src/assistant/help/qhelpengine.cpp @@ -117,22 +117,12 @@ void QHelpEnginePrivate::unsetIndexWidgetBusy() #endif } -void QHelpEnginePrivate::stopDataCollection() -{ - contentModel->invalidateContents(true); - indexModel->invalidateIndex(true); -} - - - /*! \class QHelpEngine \since 4.4 \inmodule QtHelp \brief The QHelpEngine class provides access to contents and indices of the help engine. - - */ /*! @@ -152,7 +142,6 @@ QHelpEngine::QHelpEngine(const QString &collectionFile, QObject *parent) */ QHelpEngine::~QHelpEngine() { - d->stopDataCollection(); } /*! |