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

List:       kde-commits
Subject:    kdebase/kcontrol/fonts
From:       Craig Drummond <craig () kde ! org>
Date:       2004-03-24 19:50:34
Message-ID: 20040324195034.CAC5299D0 () office ! kde ! org
[Download RAW message or body]

CVS commit by craig: 

When checking timestamps, first check if file exists...


  M +1 -1      kxftconfig.cpp   1.30


--- kdebase/kcontrol/fonts/kxftconfig.cpp  #1.29:1.30
@@ -486,5 +486,5 @@ bool KXftConfig::apply()
         // Check if file has been written since we last read it. If it has, then re-read and add any
         // of our changes...
-        if(getTimeStamp(m_file)!=m_time)
+        if(fExists(m_file) && getTimeStamp(m_file)!=m_time)
         {
             KXftConfig            newConfig(m_required, m_system);


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

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