mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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:
parent
2e340d3a61
commit
a07d3b7bfe
2 changed files with 4 additions and 7 deletions
|
@ -9,7 +9,6 @@
|
||||||
|
|
||||||
extern QHash <QString, QImage> thumbnailCache;
|
extern QHash <QString, QImage> thumbnailCache;
|
||||||
|
|
||||||
|
|
||||||
SPixmap scaleImages(picturepointer picture)
|
SPixmap scaleImages(picturepointer picture)
|
||||||
{
|
{
|
||||||
SPixmap ret;
|
SPixmap ret;
|
||||||
|
@ -28,7 +27,6 @@ SPixmap scaleImages(picturepointer picture)
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
DivePictureModel *DivePictureModel::instance()
|
DivePictureModel *DivePictureModel::instance()
|
||||||
{
|
{
|
||||||
static DivePictureModel *self = new DivePictureModel();
|
static DivePictureModel *self = new DivePictureModel();
|
||||||
|
@ -39,7 +37,6 @@ DivePictureModel::DivePictureModel() : numberOfPictures(0)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
void DivePictureModel::updateDivePicturesWhenDone(QList<QFuture<void>> futures)
|
void DivePictureModel::updateDivePicturesWhenDone(QList<QFuture<void>> futures)
|
||||||
{
|
{
|
||||||
Q_FOREACH (QFuture<void> f, futures) {
|
Q_FOREACH (QFuture<void> f, futures) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue