diff options
-rw-r--r-- | src/assistant/help/qhelpcontentwidget.cpp | 1 | ||||
-rw-r--r-- | src/assistant/help/qhelpindexwidget.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/assistant/help/qhelpcontentwidget.cpp b/src/assistant/help/qhelpcontentwidget.cpp index f0702602e..47f96732e 100644 --- a/src/assistant/help/qhelpcontentwidget.cpp +++ b/src/assistant/help/qhelpcontentwidget.cpp @@ -276,6 +276,7 @@ void QHelpContentProvider::run() return; QHelpCollectionHandler collectionHandler(collectionFile); + collectionHandler.setReadOnly(true); if (!collectionHandler.openCollectionFile()) return; diff --git a/src/assistant/help/qhelpindexwidget.cpp b/src/assistant/help/qhelpindexwidget.cpp index fa70dd438..73de1489f 100644 --- a/src/assistant/help/qhelpindexwidget.cpp +++ b/src/assistant/help/qhelpindexwidget.cpp @@ -134,6 +134,7 @@ void QHelpIndexProvider::run() return; QHelpCollectionHandler collectionHandler(collectionFile); + collectionHandler.setReadOnly(true); if (!collectionHandler.openCollectionFile()) return; |