Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 2485dc30 authored by Alexey Chernov's avatar Alexey Chernov Committed by Pali Rohár

Fix proper chat style loading

Use URI representation of base path of chat style as KHTML in KF5
apparently doesn't apply unix path propertly anymore.
parent 7a3b4b57
......@@ -1371,7 +1371,7 @@ void ChatMessagePart::writeTemplate()
"%3\n"
"</body>"
"</html>"
).arg( d->currentChatStyle->getStyleBaseHref() )
).arg( QUrl::fromLocalFile( d->currentChatStyle->getStyleBaseHref() ).toDisplayString() )
.arg( formatStyleKeywords(d->currentChatStyle->getHeaderHtml()) )
.arg( formatStyleKeywords(d->currentChatStyle->getFooterHtml()) )
.arg( adjustStyleVariantForChatSession( KopeteChatWindowSettings::self()->styleVariant() ) )
......
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