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

List:       kde-commits
Subject:    playground/utils/filelight/src/part/radialMap
From:       Martin Tobias Holmedahl Sandsmark <sandsmark () samfundet ! no>
Date:       2009-10-31 2:34:39
Message-ID: 1256956479.292204.22521.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1042917 by sandsmark:

clean up some warnings

 M  +1 -1      widget.cpp  
 M  +0 -1      widgetEvents.cpp  


--- trunk/playground/utils/filelight/src/part/radialMap/widget.cpp #1042916:1042917
@@ -40,10 +40,10 @@
         : QWidget(parent)
         , m_tree(0)
         , m_focus(0)
-        , m_toBeDeleted(0)
         , m_map(isSummary)
         , m_rootSegment(0) //TODO we don't delete it, *shrug*
         , m_isSummary(isSummary)
+        , m_toBeDeleted(0)
 {
     setAcceptDrops(true);
     setMinimumSize(100,100);//TODO: set a sane minimumsize, not just a random one.
--- trunk/playground/utils/filelight/src/part/radialMap/widgetEvents.cpp #1042916:1042917
@@ -264,7 +264,6 @@
     QApplication::restoreOverrideCursor();
     if (!job->error() && m_toBeDeleted) {
         const Directory *dir = m_toBeDeleted->file()->parent();
-        Iterator<File> *fileIterator = 0;
         for (Iterator<File> it = dir->iterator(); it != dir->end(); ++it) {
             if (m_toBeDeleted->file() == (*it))
                 it.remove();
[prev in list] [next in list] [prev in thread] [next in thread] 

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