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

List:       kde-commits
Subject:    KDE/kdelibs/kinit
From:       Ralf Habacker <Ralf.Habacker () freenet ! de>
Date:       2010-07-26 10:43:31
Message-ID: 20100726104331.DB5AFAC867 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1154827 by habacker:

using const is better

 M  +2 -2      kinit_win.cpp  


--- trunk/KDE/kdelibs/kinit/kinit_win.cpp #1154826:1154827
@@ -326,8 +326,8 @@
         else
         {
             /// @todo KUser lacks domain support yet: if user is in a domain skip \
                process owner check for now because it simply does not work
-            QString domain = qgetenv("USERDOMAIN");
-            QString host  = qgetenv("COMPUTERNAME");
+            const QString domain = qgetenv("USERDOMAIN");
+            const QString host  = qgetenv("COMPUTERNAME");
             if (domain != host)
                 return ple; 
                 


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

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