From 15d7a30d41b423846fc74d9dd252c1e2a84769e2 Mon Sep 17 00:00:00 2001 From: Jarek Kobus Date: Mon, 31 Aug 2020 15:22:37 +0200 Subject: QtHelp: Reverse the default state for readonly property for help engine From now the read only property is true by default. The old workaround with setting the dynamic property '_q_readonly' to true for the help engine should still work, so the change shouldn't break the user code with the workaround. This fixes the most common usage of QtHelp, when help engine is used for read only help collection files. Task-number: QTBUG-83268 Task-number: QTBUG-82126 Task-number: QTBUG-84745 Change-Id: Iee6fd18269d68f43633a5fecbb65abc60c99091a Reviewed-by: Kai Koehne --- src/assistant/help/qhelpindexwidget.cpp | 1 - 1 file changed, 1 deletion(-) (limited to 'src/assistant/help/qhelpindexwidget.cpp') diff --git a/src/assistant/help/qhelpindexwidget.cpp b/src/assistant/help/qhelpindexwidget.cpp index 0e2287e56..acda393fb 100644 --- a/src/assistant/help/qhelpindexwidget.cpp +++ b/src/assistant/help/qhelpindexwidget.cpp @@ -135,7 +135,6 @@ void QHelpIndexProvider::run() return; QHelpCollectionHandler collectionHandler(collectionFile); - collectionHandler.setReadOnly(true); if (!collectionHandler.openCollectionFile()) return; -- cgit v1.2.3