From fee55330b612721e0098b93445a533e95865a779 Mon Sep 17 00:00:00 2001 From: aqua Date: Sat, 24 Sep 2022 21:48:39 +0300 Subject: Add BookmarksContextMenu --- src/bookmarks/bookmarkstreeitem.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bookmarks/bookmarkstreeitem.hpp') diff --git a/src/bookmarks/bookmarkstreeitem.hpp b/src/bookmarks/bookmarkstreeitem.hpp index 91d4ab2a..df865014 100644 --- a/src/bookmarks/bookmarkstreeitem.hpp +++ b/src/bookmarks/bookmarkstreeitem.hpp @@ -42,7 +42,7 @@ public: { auto *action = new QAction(m_icon, m_data.title, sender); action->setIconVisibleInMenu(true); - action->setToolTip(m_data.description.isEmpty() ? m_data.title : m_data.description); + action->setToolTip(tooltip()); QObject::connect(action, &QAction::triggered, sender, [this, sender, type]() { emit sender->loadUrl(m_data.href, type); }); return action; -- cgit v1.2.1