Diff of /branches/KDE/4.4/kdelibs/plasma/applet.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1101319, Tue Mar 9 21:53:29 2010 UTC revision 1108644, Mon Mar 29 13:58:00 2010 UTC
# Line 2585  void AppletPrivate::init(const QString & Line 2585  void AppletPrivate::init(const QString &
2585          // find where the Package is          // find where the Package is
2586          QString path = packagePath;          QString path = packagePath;
2587          if (path.isEmpty()) {          if (path.isEmpty()) {
2588              path = KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');              path = KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + "/metadata.desktop");
2589                path.replace(QString("/metadata.desktop"),QString("/"));
2590          } else if (!path.endsWith('/')) {          } else if (!path.endsWith('/')) {
2591              path.append('/');              path.append('/');
2592          }          }

Legend:
Removed from v.1101319  
changed lines
  Added in v.1108644