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
|
||||
QString path = packagePath;
|
||||
if (path.isEmpty()) {
|
||||
KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');
|
||||
path = KStandardDirs::locate("data", "plasma/plasmoids/" + appletDescription.pluginName() + '/');
|
||||
} else if (!path.endsWith('/')) {
|
||||
path.append('/');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user