Commit 23f0305e authored by Laurent Montel's avatar Laurent Montel 😁

Fix url

parent c2b261e4
......@@ -47,7 +47,7 @@ MarkdownPreviewWidget::MarkdownPreviewWidget(QWidget *parent)
channel->setObjectName(QStringLiteral("webchannel"));
channel->registerObject(QStringLiteral("content"), mDocument);
mWebView->page()->setWebChannel(channel);
mWebView->setUrl(QUrl(QStringLiteral("qrc:/index.html")));
mWebView->setUrl(QUrl(QStringLiteral("qrc:/markdown/index.html")));
}
MarkdownPreviewWidget::~MarkdownPreviewWidget()
......
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