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

List:       kde-commits
Subject:    branches/extragear/graphics/digikam/core
From:       Marcel Wiesweg <marcel.wiesweg () gmx ! de>
Date:       2011-01-26 12:24:05
Message-ID: 20110126122405.B0FC1AC8BB () svn ! kde ! org
[Download RAW message or body]

SVN commit 1217228 by mwiesweg:

Ensure that all thumbnail threads are deleted


 M  +1 -2      digikam/mapwidgetview.cpp  
 M  +1 -1      libs/imageproperties/imagegpsmodelhelper.cpp  
 M  +1 -1      utilities/gpssearch/gpsmarkertiler.cpp  


--- branches/extragear/graphics/digikam/core/digikam/mapwidgetview.cpp \
#1217227:1217228 @@ -197,8 +197,7 @@
 {
     d->model               = filterModel;
     d->selectionModel      = selection;
-    /// @todo Who owns this guy?
-    d->thumbnailLoadThread = new ThumbnailLoadThread();
+    d->thumbnailLoadThread = new ThumbnailLoadThread(this);
 
     connect(d->thumbnailLoadThread, SIGNAL(signalThumbnailLoaded(const \
                LoadingDescription&, const QPixmap&)),
             this, SLOT(slotThumbnailLoaded(const LoadingDescription&, const \
                QPixmap&)));
--- branches/extragear/graphics/digikam/core/libs/imageproperties/imagegpsmodelhelper.cpp \
#1217227:1217228 @@ -52,7 +52,7 @@
 
     d->itemModel           = itemModel;
     d->itemSelectionModel  = new QItemSelectionModel(d->itemModel);
-    d->thumbnailLoadThread = new ThumbnailLoadThread();
+    d->thumbnailLoadThread = new ThumbnailLoadThread(this);
 
     connect(d->thumbnailLoadThread, SIGNAL(signalThumbnailLoaded(const \
                LoadingDescription&, const QPixmap&)),
             this, SLOT(slotThumbnailLoaded(const LoadingDescription&, const \
                QPixmap&)));
--- branches/extragear/graphics/digikam/core/utilities/gpssearch/gpsmarkertiler.cpp \
#1217227:1217228 @@ -122,7 +122,7 @@
 {
     resetRootTile();
 
-    d->thumbnailLoadThread = new ThumbnailLoadThread();
+    d->thumbnailLoadThread = new ThumbnailLoadThread(this);
     d->imageFilterModel    = imageFilterModel;
     d->imageAlbumModel     = \
qobject_cast<ImageAlbumModel*>(imageFilterModel->sourceModel());  d->selectionModel   \
= selectionModel;


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

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