diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-04-02 10:25:46 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-04-13 07:19:38 +0000 |
commit | 7b8d670bd83cd0312573f91b0f6e406614b15b1a (patch) | |
tree | 85a7d376ec27a6b65393169199e33249d7cd8c93 /src/plugins/help/localhelpmanager.cpp | |
parent | b9ea4843053d617db653dec7d3d73ef8310853d6 (diff) |
Help: Fix that bookmarks were not restored
We have to make sure that the help engine is properly set up before
trying to read the bookmark data.
Change-Id: Id57cce5f538472eeac17b39a3640bf2ed77fa56a
Task-number: QTCREATORBUG-14106
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Diffstat (limited to 'src/plugins/help/localhelpmanager.cpp')
-rw-r--r-- | src/plugins/help/localhelpmanager.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/help/localhelpmanager.cpp b/src/plugins/help/localhelpmanager.cpp index 3603d6fbb8d..96508149e75 100644 --- a/src/plugins/help/localhelpmanager.cpp +++ b/src/plugins/help/localhelpmanager.cpp @@ -140,10 +140,8 @@ BookmarkManager& LocalHelpManager::bookmarkManager() { if (!m_bookmarkManager) { QMutexLocker _(&m_bkmarkMutex); - if (!m_bookmarkManager) { + if (!m_bookmarkManager) m_bookmarkManager = new BookmarkManager; - m_bookmarkManager->setupBookmarkModels(); - } } return *m_bookmarkManager; } |