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

List:       kde-commits
Subject:    koffice/plugins/chartshape
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-10-21 23:41:46
Message-ID: 20101021234146.09693AC897 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1188308 by jsimon:

This is automatically done in the diagram's destructor

 M  +0 -4      Axis.cpp  


--- trunk/koffice/plugins/chartshape/Axis.cpp #1188307:1188308
@@ -447,10 +447,6 @@
     Q_ASSERT( diagram );
     Q_ASSERT( *diagram );
 
-    KDChart::Legend *legend = plotArea->parent()->legend()->kdLegend();
-    if ( legend )
-        legend->removeDiagram( *diagram );
-
     deregisterDiagram( *diagram );
     delete *diagram;
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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