summaryrefslogtreecommitdiff
path: root/src/bookmarks/bookmarkstreemodel.cpp
diff options
context:
space:
mode:
authorYoann Laissus <yoann.laissus@gmail.com>2011-05-18 08:31:45 +0200
committerYoann Laissus <yoann.laissus@gmail.com>2011-05-18 08:31:45 +0200
commita68121bea99215c1cbaff6a5d4f5e624a1942be1 (patch)
treeed45548aea5a25072967ee28111b5961bf79145c /src/bookmarks/bookmarkstreemodel.cpp
parentconnects tabMoved signal of TabBar to tabsChanged signal of MainView, (diff)
parentAdd "comment" bookmark field in the bookmark panel (diff)
downloadrekonq-a68121bea99215c1cbaff6a5d4f5e624a1942be1.tar.xz
Merge branch 'bkFolder'
Diffstat (limited to 'src/bookmarks/bookmarkstreemodel.cpp')
-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;
}