assigning the variable is a good, he says to himself.

svn path=/trunk/KDE/kdelibs/; revision=960162
This commit is contained in:
Aaron J. Seigo 2009-04-28 02:21:49 +00:00
parent 7e98d25210
commit 8ca16ac404

View File

@ -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('/');
}