append a '/' if needed
svn path=/trunk/KDE/kdelibs/; revision=959336
This commit is contained in:
parent
d4c7994472
commit
3c240aa807
@ -2100,6 +2100,8 @@ void AppletPrivate::init(const QString &packagePath)
|
||||
QString path = packagePath;
|
||||
if (path.isEmpty()) {
|
||||
KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');
|
||||
} else if (!path.endsWith('/')) {
|
||||
path.append('/');
|
||||
}
|
||||
|
||||
if (path.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user