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

List:       kde-commits
Subject:    koffice/plugins/chartshape/tests
From:       Johannes Simon <johannes.simon () gmail ! com>
Date:       2010-09-20 18:48:59
Message-ID: 20100920184859.026B0AC876 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1177607 by jsimon:

Delete test model as well, and no need to disconnect something we delete anyway

 M  +1 -1      TestKDChartModel.cpp  


--- trunk/koffice/plugins/chartshape/tests/TestKDChartModel.cpp #1177606:1177607
@@ -105,8 +105,8 @@
 
 void TestKDChartModel::cleanup()
 {
-    m_model->disconnect( this );
     delete m_model;
+    delete m_testModel;
 }
 
 void TestKDChartModel::testDataSetInsertion()
[prev in list] [next in list] [prev in thread] [next in thread] 

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