diff options
Diffstat (limited to 'src/bookmarks/bookmarkspanel.cpp')
-rw-r--r-- | src/bookmarks/bookmarkspanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bookmarks/bookmarkspanel.cpp b/src/bookmarks/bookmarkspanel.cpp index a7d6daf8..94a3de94 100644 --- a/src/bookmarks/bookmarkspanel.cpp +++ b/src/bookmarks/bookmarkspanel.cpp @@ -74,7 +74,7 @@ void BookmarksPanel::contextMenu(const QPoint &pos) if (_loadingState) return; - BookmarksContextMenu menu(bookmarkForIndex( panelTreeView()->indexAt(pos) ), + BookmarksContextMenu menu(bookmarkForIndex(panelTreeView()->indexAt(pos)), rApp->bookmarkProvider()->bookmarkManager(), rApp->bookmarkProvider()->bookmarkOwner() ); @@ -129,7 +129,7 @@ void BookmarksPanel::setup() void BookmarksPanel::loadFoldedState(const QModelIndex &root) { QAbstractItemModel *model = panelTreeView()->model(); - if(!model) + if (!model) return; int count = model->rowCount(root); |