Move ImageDownloader out of the desktop widgets

This required a bit more untangling, but with this it seems we can build
subsurface-mobile again (at least on the desktop).

Interesting is the removal from inside the ImageDownloader of the call to
DivePictureModel::instance()->updateDivePictures() - which actually could
cause some interesting recursion issues. If it turns out we did indeed
need this, it needs to be re-architected.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-11-06 10:39:59 -08:00
parent bb566f7798
commit 9edb4f3fa9
7 changed files with 110 additions and 93 deletions

View file

@ -2,6 +2,7 @@
#include "dive.h"
#include "metrics.h"
#include "divelist.h"
#include "imagedownloader.h"
#include <QtConcurrent>