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

List:       kde-commits
Subject:    koffice/plugins/chartshape/kdchart/src
From:       Laurent Montel <montel () kde ! org>
Date:       2010-10-13 11:39:16
Message-ID: 20101013113916.CD85AAC895 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1185432 by mlaurent:

Fix mem leak


 M  +5 -0      KDChartDatasetSelector.cpp  
 M  +1 -0      KDChartDatasetSelector.h  


--- trunk/koffice/plugins/chartshape/kdchart/src/KDChartDatasetSelector.cpp #1185431:1185432
@@ -42,6 +42,11 @@
     setMinimumSize ( minimumSizeHint() );
 }
 
+DatasetSelectorWidget::~DatasetSelectorWidget()
+{
+    delete mUi;
+}
+
 void DatasetSelectorWidget::on_sbStartColumn_valueChanged ( const int )
 {
     calculateMapping();
--- trunk/koffice/plugins/chartshape/kdchart/src/KDChartDatasetSelector.h #1185431:1185432
@@ -48,6 +48,7 @@
 
     public:
         explicit DatasetSelectorWidget ( QWidget* parent = 0 );
+        ~DatasetSelectorWidget();
 
     public Q_SLOTS:
         void setSourceRowCount ( const int& rowCount );
[prev in list] [next in list] [prev in thread] [next in thread] 

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