Whitespace fixes in qt-models/divepicturemodel.cpp

Note that constructs like QList<QFuture<void>> is incompatible with
pre-C++11 compilers. But the code base is so full of C++11isms that
we may just as well remove asymmetric eye-sores of the kind
"QList<QFuture<void> >".

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2017-12-09 22:59:21 +01:00 committed by Robert C. Helling
parent 2e340d3a61
commit a07d3b7bfe
2 changed files with 4 additions and 7 deletions

View file

@ -9,7 +9,6 @@
extern QHash <QString, QImage> thumbnailCache;
SPixmap scaleImages(picturepointer picture)
{
SPixmap ret;
@ -28,7 +27,6 @@ SPixmap scaleImages(picturepointer picture)
return ret;
}
DivePictureModel *DivePictureModel::instance()
{
static DivePictureModel *self = new DivePictureModel();
@ -39,7 +37,6 @@ DivePictureModel::DivePictureModel() : numberOfPictures(0)
{
}
void DivePictureModel::updateDivePicturesWhenDone(QList<QFuture<void>> futures)
{
Q_FOREACH (QFuture<void> f, futures) {