diff options
Diffstat (limited to 'src/panels')
-rw-r--r-- | src/panels/bookmarkspanel.cpp | 4 | ||||
-rw-r--r-- | src/panels/bookmarkspanel.hpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/panels/bookmarkspanel.cpp b/src/panels/bookmarkspanel.cpp index 5eda1c67..dab99203 100644 --- a/src/panels/bookmarkspanel.cpp +++ b/src/panels/bookmarkspanel.cpp @@ -18,9 +18,9 @@ BookmarksPanel::BookmarksPanel(QWidget *parent) : QTreeView(parent) connect(this, &QTreeView::customContextMenuRequested, this, &BookmarksPanel::customContextMenu); } -BookmarkModel *BookmarksPanel::model() const +BookmarksTreeModel *BookmarksPanel::model() const { - auto *m = qobject_cast<BookmarkModel *>(QTreeView::model()); + auto *m = qobject_cast<BookmarksTreeModel *>(QTreeView::model()); Q_CHECK_PTR(m); return m; } diff --git a/src/panels/bookmarkspanel.hpp b/src/panels/bookmarkspanel.hpp index 38d58f14..9dc969a7 100644 --- a/src/panels/bookmarkspanel.hpp +++ b/src/panels/bookmarkspanel.hpp @@ -13,7 +13,7 @@ #include "rekonq.hpp" #include <QTreeView> -class BookmarkModel; +class BookmarksTreeModel; class BookmarksPanel : public QTreeView { Q_OBJECT @@ -32,5 +32,5 @@ private slots: void remove(const QModelIndex &index); private: - [[nodiscard]] BookmarkModel *model() const; + [[nodiscard]] BookmarksTreeModel *model() const; }; |