assigning the variable is a good, he says to himself.
svn path=/trunk/KDE/kdelibs/; revision=960162
This commit is contained in:
parent
7e98d25210
commit
8ca16ac404
@ -2098,7 +2098,7 @@ void AppletPrivate::init(const QString &packagePath)
|
|||||||
// find where the Package is
|
// find where the Package is
|
||||||
QString path = packagePath;
|
QString path = packagePath;
|
||||||
if (path.isEmpty()) {
|
if (path.isEmpty()) {
|
||||||
KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');
|
path = KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');
|
||||||
} else if (!path.endsWith('/')) {
|
} else if (!path.endsWith('/')) {
|
||||||
path.append('/');
|
path.append('/');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user