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

List:       kde-commits
Subject:    KDE/kdebase/workspace/plasma/applets/tasks
From:       Chani Armitage <chanika () gmail ! com>
Date:       2007-10-11 9:03:25
Message-ID: 1192093405.629244.21657.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 724071 by chani:

no need to set the layout twice


 M  +1 -2      tasks.cpp  


--- trunk/KDE/kdebase/workspace/plasma/applets/tasks/tasks.cpp #724070:724071
@@ -66,7 +66,6 @@
         _rootTaskGroup->layout()->setAnimator(animator);
 
     layout->addItem(_rootTaskGroup);
-    setLayout(layout);
 
     // testing
         _rootTaskGroup->setBorderStyle(TaskGroupItem::NoBorder);
@@ -400,7 +399,7 @@
 {
     setAcceptDrops(true);
 
-   setLayout(new Plasma::BoxLayout(Plasma::BoxLayout::LeftToRight, this));
+   new Plasma::BoxLayout(Plasma::BoxLayout::LeftToRight, this);
    layout()->setMargin(0);
    layout()->setSpacing(5);
 }
[prev in list] [next in list] [prev in thread] [next in thread] 

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