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

List:       kde-commits
Subject:    KDE/kdebase/workspace/kcontrol/kfontinst/dbus
From:       David Faure <faure () kde ! org>
Date:       2010-02-03 13:55:35
Message-ID: 1265205335.027171.16151.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1084691 by dfaure:

fix ambiguous else


 M  +2 -1      Helper.cpp  


--- trunk/KDE/kdebase/workspace/kcontrol/kfontinst/dbus/Helper.cpp #1084690:1084691
@@ -321,11 +321,12 @@
                             QString(enable ? Misc::unhide(Misc::getFile(*ait))
                                            : Misc::hide(Misc::getFile(*ait)));
 
-                    if(to!=*ait)
+                    if(to!=*ait) {
                         if(renameFontFile(*ait, to))
                             movedAssoc[*ait]=to;
                         else
                             result=KIO::ERR_WRITE_ACCESS_DENIED;
+                    }
                 }
             }
             else
[prev in list] [next in list] [prev in thread] [next in thread] 

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