From kde-commits Mon Jul 31 23:14:25 2006 From: Thomas Braxton Date: Mon, 31 Jul 2006 23:14:25 +0000 To: kde-commits Subject: branches/work/kde4_kconfig/kconfig (silent) Message-Id: <1154387665.011570.32287.nullmailer () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=115438779002025 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,