diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-09-24 21:48:39 +0300 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-09-24 21:48:39 +0300 |
commit | fee55330b612721e0098b93445a533e95865a779 (patch) | |
tree | 88616e3c5b8e2e29700a3345a59e70b63767ac8d /src/bookmarks | |
parent | Add validate_xml script (diff) | |
download | rekonq-fee55330b612721e0098b93445a533e95865a779.tar.xz |
Add BookmarksContextMenustagingRKNQ-2-bookmarks
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 |