[Marble-commits] branches/KDE/4.5/kdeedu/marble/src/lib
Laurent Montel
montel at kde.org
Fri Jul 9 09:37:37 CEST 2010
SVN commit 1147792 by mlaurent:
Backport: fix mem leak
M +5 -0 DownloadRegionDialog.cpp
M +1 -1 DownloadRegionDialog.h
--- branches/KDE/4.5/kdeedu/marble/src/lib/DownloadRegionDialog.cpp #1147791:1147792
@@ -197,6 +197,11 @@
updateTilesCount();
}
+DownloadRegionDialog::~DownloadRegionDialog()
+{
+ delete d;
+}
+
void DownloadRegionDialog::setAllowedTileLevelRange( int const minimumTileLevel,
int const maximumTileLevel )
{
--- branches/KDE/4.5/kdeedu/marble/src/lib/DownloadRegionDialog.h #1147791:1147792
@@ -37,7 +37,7 @@
explicit DownloadRegionDialog( MarbleModel const * const model, QWidget * const parent = 0,
Qt::WindowFlags const f = 0 );
-
+ ~DownloadRegionDialog();
void setAllowedTileLevelRange( int const minimumTileLevel,
int const maximumTileLevel );
void setVisibleTileLevel( int const tileLevel );
More information about the Marble-commits
mailing list