forked from qt-creator/qt-creator
Help: Remove unused function
Leftover from 5cf2972345
.
Change-Id: Ia1e7debd3d5e2edeac41bae091d0057fa77a84bc
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
d01adc134d
commit
a21e71ec1a
@@ -315,15 +315,6 @@ void BookmarkWidget::setOpenInNewPageActionVisible(bool visible)
|
|||||||
m_isOpenInNewPageActionVisible = 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()
|
void BookmarkWidget::filterChanged()
|
||||||
{
|
{
|
||||||
bool searchBookmarks = searchField->text().isEmpty();
|
bool searchBookmarks = searchField->text().isEmpty();
|
||||||
|
@@ -114,7 +114,6 @@ signals:
|
|||||||
void createPage(const QUrl &url, bool fromSearch);
|
void createPage(const QUrl &url, bool fromSearch);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
void removeClicked();
|
|
||||||
void filterChanged();
|
void filterChanged();
|
||||||
void expand(const QModelIndex& index);
|
void expand(const QModelIndex& index);
|
||||||
void activated(const QModelIndex &index);
|
void activated(const QModelIndex &index);
|
||||||
|
Reference in New Issue
Block a user