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

List:       kde-commits
Subject:    extragear/sysadmin/muon/installer
From:       Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date:       2011-01-03 19:52:46
Message-ID: 20110103195246.56772AC8AE () svn ! kde ! org
[Download RAW message or body]

SVN commit 1211351 by jmthomas:

We don't use this pointer at any other time in this function other than stuffing it \
into a list, so don't bother giving it a name.


 M  +1 -2      AvailableView.cpp  


--- trunk/extragear/sysadmin/muon/installer/AvailableView.cpp #1211350:1211351
@@ -96,8 +96,7 @@
     QDomNode node = root.firstChild();
     while(!node.isNull())
     {
-        Category *category = new Category(node);
-        m_categoryList << category;
+        m_categoryList << new Category(node);
 
         node = node.nextSibling();
     }


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

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