summaryrefslogtreecommitdiff
path: root/src/plugins/help/openpagesmodel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/help/openpagesmodel.cpp')
-rw-r--r--src/plugins/help/openpagesmodel.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/help/openpagesmodel.cpp b/src/plugins/help/openpagesmodel.cpp
index 669645278b..d7f56bd7ba 100644
--- a/src/plugins/help/openpagesmodel.cpp
+++ b/src/plugins/help/openpagesmodel.cpp
@@ -87,6 +87,7 @@ void OpenPagesModel::removePage(int index)
Q_ASSERT(index >= 0 && index < rowCount());
beginRemoveRows(QModelIndex(), index, index);
HelpViewer *page = m_pages.at(index);
+ page->stop();
m_pages.removeAt(index);
endRemoveRows();
page->deleteLater();