diff options
author | Yoann Laissus <yoann.laissus@gmail.com> | 2011-05-18 08:31:45 +0200 |
---|---|---|
committer | Yoann Laissus <yoann.laissus@gmail.com> | 2011-05-18 08:31:45 +0200 |
commit | a68121bea99215c1cbaff6a5d4f5e624a1942be1 (patch) | |
tree | ed45548aea5a25072967ee28111b5961bf79145c /src/bookmarks/bookmarkstreemodel.cpp | |
parent | connects tabMoved signal of TabBar to tabsChanged signal of MainView, (diff) | |
parent | Add "comment" bookmark field in the bookmark panel (diff) | |
download | rekonq-a68121bea99215c1cbaff6a5d4f5e624a1942be1.tar.xz |
Merge branch 'bkFolder'
Diffstat (limited to 'src/bookmarks/bookmarkstreemodel.cpp')
-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; } |