[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/work/kde4_kconfig/kconfig (silent)
From:       Thomas Braxton <brax108 () cox ! net>
Date:       2006-07-31 23:14:25
Message-ID: 1154387665.011570.32287.nullmailer () svn ! kde ! org
[Download RAW message or body]

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,
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic