easier to scan
svn path=/trunk/KDE/kdelibs/; revision=1158866
This commit is contained in:
parent
b968f22439
commit
c42a1e3d78
@ -667,9 +667,7 @@ DataEngine *Applet::dataEngine(const QString &name) const
|
||||
{
|
||||
if (!d->remoteLocation.isEmpty()) {
|
||||
return d->remoteDataEngine(KUrl(d->remoteLocation), name);
|
||||
}
|
||||
|
||||
if (!package() || package()->metadata().remoteLocation().isEmpty()) {
|
||||
} else if (!package() || package()->metadata().remoteLocation().isEmpty()) {
|
||||
return d->dataEngine(name);
|
||||
} else {
|
||||
return d->remoteDataEngine(KUrl(package()->metadata().remoteLocation()), name);
|
||||
|
Loading…
Reference in New Issue
Block a user