forked from qt-creator/qt-creator
Make them const.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user