Commit 39275577 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧
Browse files

mobile: Fix Qt warning

parent 45c72ff0
Pipeline #11859 passed with stage
in 18 minutes and 19 seconds
......@@ -39,7 +39,7 @@ DocumentItem::DocumentItem(QObject *parent)
m_pageviewObserver(nullptr),
m_searchInProgress(false)
{
qmlRegisterUncreatableType<TOCModel>("org.kde.okular", 1, 0, "TOCModel", QStringLiteral("Do not create objects of this type."));
qmlRegisterUncreatableType<TOCModel>("org.kde.okular.private", 1, 0, "TOCModel", QStringLiteral("Do not create objects of this type."));
Okular::Settings::instance(QStringLiteral("okularproviderrc"));
m_document = new Okular::Document(nullptr);
m_tocModel = new TOCModel(m_document, this);
......
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