summaryrefslogtreecommitdiffstats
path: root/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp')
-rw-r--r--tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
index 358be9956..ce8889efe 100644
--- a/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
+++ b/tests/auto/qhelpindexmodel/tst_qhelpindexmodel.cpp
@@ -97,6 +97,7 @@ void tst_QHelpIndexModel::init()
void tst_QHelpIndexModel::setupIndex()
{
QHelpEngine h(m_colFile, 0);
+ h.setReadOnly(false);
QHelpIndexModel *m = h.indexModel();
SignalWaiter w;
connect(m, SIGNAL(indexCreated()),
@@ -128,6 +129,7 @@ void tst_QHelpIndexModel::setupIndex()
void tst_QHelpIndexModel::filter()
{
QHelpEngine h(m_colFile, 0);
+ h.setReadOnly(false);
QHelpIndexModel *m = h.indexModel();
SignalWaiter w;
connect(m, SIGNAL(indexCreated()),