diff options
author | Eike Ziller <eike.ziller@nokia.com> | 2012-05-07 15:18:39 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@nokia.com> | 2012-05-07 15:18:39 +0200 |
commit | 529c0a8fe203ec3288dc9f3053a806f53665d252 (patch) | |
tree | d71f907b13ccdd5a19dd0984986d4a3af1c172ac /src/plugins/bookmarks | |
parent | d7f6bc336982b7175c1651ccc8dfd04dd79ea367 (diff) | |
parent | b63135c067d49a96c56195f75e7a6637c97c0702 (diff) | |
download | qt-creator-529c0a8fe203ec3288dc9f3053a806f53665d252.tar.gz |
Merge remote-tracking branch 'origin/2.5'
Diffstat (limited to 'src/plugins/bookmarks')
-rw-r--r-- | src/plugins/bookmarks/bookmarkmanager.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/bookmarks/bookmarkmanager.cpp b/src/plugins/bookmarks/bookmarkmanager.cpp index a7b8d7fed7..ade3717c58 100644 --- a/src/plugins/bookmarks/bookmarkmanager.cpp +++ b/src/plugins/bookmarks/bookmarkmanager.cpp @@ -410,6 +410,7 @@ void BookmarkManager::toggleBookmark(const QString &fileName, int lineNumber) // Add a new bookmark if no bookmark existed on this line Bookmark *bookmark = new Bookmark(fi.filePath(), editorLine, this); + bookmark->init(); addBookmark(bookmark); } @@ -716,6 +717,7 @@ void BookmarkManager::addBookmark(const QString &s) if (!filePath.isEmpty() && !findBookmark(fi.path(), fi.fileName(), lineNumber)) { Bookmark *b = new Bookmark(filePath, lineNumber, this); + b->init(); addBookmark(b, false); } } else { |