[Marble-commits] KDE/kdeedu/marble/src/lib
Laurent Montel
montel at kde.org
Fri Jul 9 09:34:29 CEST 2010
SVN commit 1147788 by mlaurent:
Fix mem leak
M +5 -0 LatLonBoxWidget.cpp
M +1 -1 LatLonBoxWidget.h
--- trunk/KDE/kdeedu/marble/src/lib/LatLonBoxWidget.cpp #1147787:1147788
@@ -48,6 +48,11 @@
connect( d->m_ui.westSpinBox, SIGNAL( valueChanged( double )), SLOT( updateLonSingleStep() ));
}
+LatLonBoxWidget::~LatLonBoxWidget()
+{
+ delete d;
+}
+
GeoDataLatLonBox LatLonBoxWidget::latLonBox() const
{
return GeoDataLatLonBox( d->m_ui.northSpinBox->value(), d->m_ui.southSpinBox->value(),
--- trunk/KDE/kdeedu/marble/src/lib/LatLonBoxWidget.h #1147787:1147788
@@ -28,7 +28,7 @@
public:
explicit LatLonBoxWidget( QWidget * const parent = 0, Qt::WindowFlags const f = 0 );
-
+ ~LatLonBoxWidget();
GeoDataLatLonBox latLonBox() const;
void setLatLonBox( GeoDataLatLonBox const & );
More information about the Marble-commits
mailing list