Change in plasma-framework[master]: Port to kpackage::package

David Edmundson (Code Review) noreply at kde.org
Wed Feb 11 13:57:13 UTC 2015


David Edmundson has uploaded a new change for review.

  https://gerrit.vesnicky.cesnet.cz/r/367

Change subject: Port to kpackage::package
......................................................................

Port to kpackage::package

Change-Id: Id52b8d6bf76ab964c02cec9f0bba1dcdf3950d76
---
M src/plasma/svg.cpp
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.vesnicky.cesnet.cz:29418/plasma-framework refs/changes/67/367/1

diff --git a/src/plasma/svg.cpp b/src/plasma/svg.cpp
index 28393e5..0a0db5e 100644
--- a/src/plasma/svg.cpp
+++ b/src/plasma/svg.cpp
@@ -409,8 +409,8 @@
         //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()) {

-- 
To view, visit https://gerrit.vesnicky.cesnet.cz/r/367
To unsubscribe, visit https://gerrit.vesnicky.cesnet.cz/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: Id52b8d6bf76ab964c02cec9f0bba1dcdf3950d76
Gerrit-PatchSet: 1
Gerrit-Project: plasma-framework
Gerrit-Branch: master
Gerrit-Owner: David Edmundson <david at davidedmundson.co.uk>
Gerrit-Reviewer: Aaron J. Seigo <aseigo at kde.org>


More information about the Plasma-devel mailing list