diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2011-04-23 14:50:41 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2011-05-15 14:35:40 +0200 |
commit | aeb7e70b4e2050ca374a1f6ee7d74cff4d0ae7a7 (patch) | |
tree | 20c304add0e4e8064c397fbc4b5580cd3ed21cea /src | |
parent | Null action for root bk folder in the bar (diff) | |
download | rekonq-aeb7e70b4e2050ca374a1f6ee7d74cff4d0ae7a7.tar.xz |
Add "comment" bookmark field in the bookmark panel
Diffstat (limited to 'src')
-rw-r--r-- | src/bookmarks/bookmarkstreemodel.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/bookmarks/bookmarkstreemodel.cpp b/src/bookmarks/bookmarkstreemodel.cpp index 8d82e2b0..1e2e462f 100644 --- a/src/bookmarks/bookmarkstreemodel.cpp +++ b/src/bookmarks/bookmarkstreemodel.cpp @@ -94,6 +94,13 @@ QVariant BtmItem::data(int role) const tooltip += url; } + if (!m_kbm.description().isEmpty()) + { + if (!tooltip.isEmpty()) + tooltip += '\n'; + tooltip += m_kbm.description(); + } + return tooltip; } |