aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp b/src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp
index a90007d8..902fe0ff 100644
--- a/src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp
+++ b/src-qt5/desktop-utils/lumina-pdf/BookmarkMenu.cpp
@@ -16,7 +16,7 @@ BookmarkMenu::BookmarkMenu(Renderer *Backend, QWidget *parent) : QWidget(parent)
connect(ui->closeButton, &QPushButton::clicked, parent, [=]() { static_cast<QSplitter*>(parent)->setSizes(QList<int>() << 0 << this->width()); });
connect(ui->closeButton, &QPushButton::clicked, parent, [=]() { });
connect(ui->bookmarks, &QTreeWidget::itemClicked, this, [=](QTreeWidgetItem *item) {
- Backend->handleLink(item->data(1, Qt::UserRole).toString()); });
+ Backend->handleLink(parent, item->data(1, Qt::UserRole).toString()); });
}
void BookmarkMenu::loadBookmarks() {
bgstack15