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

List:       kde-commits
Subject:    KDE/kdelibs
From:       Thomas Braxton <brax108 () cox ! net>
Date:       2006-01-25 15:18:46
Message-ID: 1138202326.751354.25977.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 502287 by braxton:

use static function instead of creating new object

 M  +1 -1      kdeui/kactionclasses.cpp  
 M  +1 -1      kio/kfile/kurlcombobox.cpp  


--- trunk/KDE/kdelibs/kdeui/kactionclasses.cpp #502286:502287
@@ -1189,7 +1189,7 @@
         url = KUrl::fromPathOrURL( value );
 
         // Don't restore if file doesn't exist anymore
-        if (url.isLocalFile() && !QFile(url.path()).exists())
+        if (url.isLocalFile() && !QFile::exists(url.path()))
           continue;
 
         nameKey = QString( "Name%1" ).arg( i );
--- trunk/KDE/kdelibs/kio/kfile/kurlcombobox.cpp #502286:502287
@@ -180,7 +180,7 @@
         u = KUrl::fromPathOrURL( *it );
 
         // Don't restore if file doesn't exist anymore
-        if (u.isLocalFile() && !QFile(u.path()).exists()) {
+        if (u.isLocalFile() && !QFile::exists(u.path())) {
             ++it;
             continue;
         }
[prev in list] [next in list] [prev in thread] [next in thread] 

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