[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib
Laurent Montel
montel at kde.org
Fri Jul 9 09:35:58 CEST 2010
SVN commit 1147789 by mlaurent:
Backport fix mem leak
M +5 -0 LatLonBoxWidget.cpp
M +1 -1 LatLonBoxWidget.h
--- branches/KDE/4.5/kdeedu/marble/src/lib/LatLonBoxWidget.cpp #1147788:1147789
@@ -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(),
--- branches/KDE/4.5/kdeedu/marble/src/lib/LatLonBoxWidget.h #1147788:1147789
@@ -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