SVN commit 568384 by braxton: Some trivial changes, no functionality changes SVN_SILENT: M +3 -3 kconfig.cpp --- branches/work/kde4_kconfig/kconfig/kconfig.cpp #568383:568384 @@ -108,7 +108,7 @@ // this is where we should determine which backend to use // d->mBackend = KConfigBackend::create(backend); - if (!QDir::isRelativePath(file)) + if (QDir::isAbsolutePath(file)) d->localFileName = file; else d->localFileName = KStandardDirs::locate(resourceType, file); @@ -357,7 +357,7 @@ // don't do variable expansion for .desktop files allowExecutableValues = d->resourceType == "config" || - (d->localFileName.right(8) != ".desktop"); + !d->fileName.endsWith(".desktop"); } // Parse all desired files from the least to the most specific. @@ -377,7 +377,7 @@ d->bFileImmutable = false; QStringList list; - if ( !QDir::isRelativePath(d->fileName) ) + if (QDir::isAbsolutePath(d->fileName)) list << d->fileName; else list = KGlobal::dirs()->findAllResources(d->resourceType,