Hi, Seems that after update to 4.6 webkit scriptengine stopped working. Problem is that now baseUrl has to have scheme in it to work. Is this intentional feature in 4.6?
Petri Index: webapplet.cpp =================================================================== --- webapplet.cpp (revision 1044595) +++ webapplet.cpp (working copy) @@ -94,9 +94,10 @@ d->page = 0; return false; } - - kDebug() << webpage << package()->path() << package()->filePath("html"); - d->page->mainFrame()->setHtml(dataFor(webpage), QUrl(package()- >filePath("html"))); + QUrl url(package()->filePath("html")); + url.setScheme("file"); + kDebug() << webpage << package()->path() << url; + d->page->mainFrame()->setHtml(dataFor(webpage), url); return true; }
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel