diff options
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/bookmarkstreeitem.hpp | 2 | ||||
-rw-r--r-- | src/bookmarks/bookmarkstreemodel.hpp | 1 |
2 files changed, 1 insertions, 2 deletions
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; diff --git a/src/bookmarks/bookmarkstreemodel.hpp b/src/bookmarks/bookmarkstreemodel.hpp index 23257040..98bc1a3b 100644 --- a/src/bookmarks/bookmarkstreemodel.hpp +++ b/src/bookmarks/bookmarkstreemodel.hpp @@ -12,7 +12,6 @@ #include "bookmarkstreeitem.hpp" #include <QAbstractItemModel> -class QFile; class BookmarksTreeModel final : public QAbstractItemModel { Q_OBJECT |