diff --git a/src/shared/help/bookmarkmanager.cpp b/src/shared/help/bookmarkmanager.cpp index 714212bfc62..f4fe18446e7 100644 --- a/src/shared/help/bookmarkmanager.cpp +++ b/src/shared/help/bookmarkmanager.cpp @@ -315,15 +315,6 @@ void BookmarkWidget::setOpenInNewPageActionVisible(bool visible) m_isOpenInNewPageActionVisible = visible; } -void BookmarkWidget::removeClicked() -{ - const QModelIndex& index = treeView->currentIndex(); - if (searchField->text().isEmpty()) { - bookmarkManager->removeBookmarkItem(treeView, - filterBookmarkModel->mapToSource(index)); - } -} - void BookmarkWidget::filterChanged() { bool searchBookmarks = searchField->text().isEmpty(); diff --git a/src/shared/help/bookmarkmanager.h b/src/shared/help/bookmarkmanager.h index 7afa7e668f3..3f8848f6947 100644 --- a/src/shared/help/bookmarkmanager.h +++ b/src/shared/help/bookmarkmanager.h @@ -114,7 +114,6 @@ signals: void createPage(const QUrl &url, bool fromSearch); private: - void removeClicked(); void filterChanged(); void expand(const QModelIndex& index); void activated(const QModelIndex &index);