Port to kpackage::package
Change-Id: Id52b8d6bf76ab964c02cec9f0bba1dcdf3950d76
This commit is contained in:
parent
9c855f05ab
commit
084be8e534
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user