Commit 6a9fd989 authored by Maik Qualmann's avatar Maik Qualmann
Browse files
parent 78a6043e
......@@ -194,4 +194,5 @@ BUGFIXES FROM BUGZILLA:
183 ==> 387957 - Image Editor Launches without Image.
184 ==> 387975 - Just after ugrade to 5.7.0 version, none pictures are shown.
185 ==> 387976 - Remember aspect ratio.
186 ==>
186 ==> 375317 - MYSQL: digikam crashes during face recognition.
187 ==>
......@@ -52,6 +52,11 @@ AlbumsDBJobsThread* DBJobsManager::startAlbumsJobThread(const AlbumsDBJobInfo& j
{
AlbumsDBJobsThread* const thread = new AlbumsDBJobsThread(this);
thread->albumsListing(jInfo);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -61,6 +66,11 @@ DatesDBJobsThread* DBJobsManager::startDatesJobThread(const DatesDBJobInfo& jInf
{
DatesDBJobsThread* const thread = new DatesDBJobsThread(this);
thread->datesListing(jInfo);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -70,6 +80,11 @@ TagsDBJobsThread* DBJobsManager::startTagsJobThread(const TagsDBJobInfo& jInfo)
{
TagsDBJobsThread* const thread = new TagsDBJobsThread(this);
thread->tagsListing(jInfo);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -79,6 +94,11 @@ SearchesDBJobsThread* DBJobsManager::startSearchesJobThread(const SearchesDBJobI
{
SearchesDBJobsThread* const thread = new SearchesDBJobsThread(this);
thread->searchesListing(jInfo);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -88,6 +108,11 @@ GPSDBJobsThread* DBJobsManager::startGPSJobThread(const GPSDBJobInfo& jInfo)
{
GPSDBJobsThread* const thread = new GPSDBJobsThread(this);
thread->GPSListing(jInfo);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......
......@@ -50,6 +50,11 @@ IOJobsThread* IOJobsManager::startCopy(const QList<QUrl>& srcsList, const QUrl&
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->copy(srcsList, destAlbum);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -59,6 +64,11 @@ IOJobsThread* IOJobsManager::startMove(const QList<QUrl>& srcsList, const QUrl&
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->move(srcsList, destAlbum);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -68,6 +78,11 @@ IOJobsThread* IOJobsManager::startDelete(const QList<QUrl>& filesToDelete, bool
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->deleteFiles(filesToDelete, useTrash);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -77,6 +92,11 @@ IOJobsThread* IOJobsManager::startRenameFile(const QUrl& srcToRename, const QUrl
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->renameFile(srcToRename, newUrl);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -86,6 +106,11 @@ IOJobsThread *IOJobsManager::startDTrashItemsListingForCollection(const QString&
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->listDTrashItems(collectionPath);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -95,6 +120,11 @@ IOJobsThread* IOJobsManager::startRestoringDTrashItems(const DTrashItemInfoList&
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->restoreDTrashItems(trashItemsList);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......@@ -104,6 +134,11 @@ IOJobsThread* IOJobsManager::startDeletingDTrashItems(const DTrashItemInfoList&
{
IOJobsThread* const thread = new IOJobsThread(this);
thread->deleteDTrashItems(trashItemsList);
connect(thread, SIGNAL(finished()),
thread, SLOT(deleteLater()),
Qt::QueuedConnection);
thread->start();
return thread;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment