Commit 0a1e63d1 authored by kh1's avatar kh1
Browse files

Make them const.

parent fa32d9a9
......@@ -620,12 +620,12 @@ BookmarkManager::~BookmarkManager()
listModel->clear();
}
BookmarkModel* BookmarkManager::treeBookmarkModel()
BookmarkModel* BookmarkManager::treeBookmarkModel() const
{
return treeModel;
}
BookmarkModel* BookmarkManager::listBookmarkModel()
BookmarkModel* BookmarkManager::listBookmarkModel() const
{
return listModel;
}
......
......@@ -161,8 +161,8 @@ public:
BookmarkManager(QHelpEngineCore *helpEngine);
~BookmarkManager();
BookmarkModel *treeBookmarkModel();
BookmarkModel *listBookmarkModel();
BookmarkModel *treeBookmarkModel() const;
BookmarkModel *listBookmarkModel() const;
void saveBookmarks();
QStringList bookmarkFolders() const;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment