Verified Commit b659b06e authored by Jonah Brüchert's avatar Jonah Brüchert 🌳

mobile: app: Fix TableOfContents

- Correct QQC2 import
- Apply search field changes from Thumbnails here as well

Test Plan:
- Open with okularkirigami
- open the context drawer
- switch to the "Table of Contents" tab
- the ToC should load successfully

Reviewers: #okular, bshah

Reviewed By: bshah

Subscribers: bshah, okular-devel

Tags: #okular

Differential Revision:
parent 5a8d21d5
Pipeline #6419 passed with stage
in 10 minutes and 2 seconds
......@@ -18,7 +18,7 @@
import QtQuick 2.1
import QtQuick.Controls 2.0 as QQC2
import QtQuick.Controls 2.2 as QQC2
import org.kde.kirigami 2.0 as Kirigami
Kirigami.Page {
......@@ -27,16 +27,15 @@ Kirigami.Page {
topPadding: 0
rightPadding: 0
bottomPadding: 0
property alias contentY: flickable.contentY
property alias contentHeight: flickable.contentHeight
property alias tocContentY: flickable.contentY
property alias tocContentHeight: flickable.contentHeight
QQC2.ToolBar {
id: toolBarContent
width: root.width
height: searchField.height
TextField {
contentItem: QQC2.TextField {
id: searchField
anchors.centerIn: parent
placeholderText: i18n("Search...")
QQC2.ScrollView {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment