diff options
Diffstat (limited to 'tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp')
-rw-r--r-- | tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp index 039ea2f9a..5480168d3 100644 --- a/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp +++ b/tests/auto/qhelpcontentmodel/tst_qhelpcontentmodel.cpp @@ -98,6 +98,7 @@ void tst_QHelpContentModel::init() void tst_QHelpContentModel::setupContents() { QHelpEngine h(m_colFile, 0); + h.setReadOnly(false); QHelpContentModel *m = h.contentModel(); SignalWaiter w; connect(m, SIGNAL(contentsCreated()), @@ -123,6 +124,7 @@ void tst_QHelpContentModel::setupContents() void tst_QHelpContentModel::contentItemAt() { QHelpEngine h(m_colFile, 0); + h.setReadOnly(false); QHelpContentModel *m = h.contentModel(); SignalWaiter w; connect(m, SIGNAL(contentsCreated()), |