summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-04-23 14:50:41 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-05-15 14:35:40 +0200
commitaeb7e70b4e2050ca374a1f6ee7d74cff4d0ae7a7 (patch)
tree20c304add0e4e8064c397fbc4b5580cd3ed21cea
parentNull action for root bk folder in the bar (diff)
downloadrekonq-aeb7e70b4e2050ca374a1f6ee7d74cff4d0ae7a7.tar.xz
Add "comment" bookmark field in the bookmark panel
-rw-r--r--src/bookmarks/bookmarkstreemodel.cpp7
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;
}