Diff of /branches/KDE/4.4/kdelibs/plasma/applet.cpp
Parent Directory
|
Revision Log
|
Patch
| 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 |
|
|