Port to kpackage::package

Change-Id: Id52b8d6bf76ab964c02cec9f0bba1dcdf3950d76
This commit is contained in:
David Edmundson 2015-02-11 14:56:59 +01:00
parent 9c855f05ab
commit 084be8e534

View File

@ -409,8 +409,8 @@ void SvgPrivate::createRenderer()
//FIXME: this maybe could be more efficient if we knew if the package was empty, e.g. for
//C++; however, I'm not sure this has any real world runtime impact. something to measure
//for.
if (applet && applet->package().isValid()) {
const Package package = applet->package();
if (applet && applet->kPackage().isValid()) {
const KPackage::Package package = applet->kPackage();
path = package.filePath("images", themePath + ".svg");
if (path.isEmpty()) {