Changeset 2f5f1e0 in subsurface


Ignore:
Timestamp:
Dec 18, 2017, 12:07:10 PM (5 weeks ago)
Author:
Dirk Hohndel <dirk@…>
Branches:
master
Children:
0d01c70
Parents:
78bafe8f
git-author:
Berthold Stoeger <bstoeger@…> (12/17/17 05:48:04)
git-committer:
Dirk Hohndel <dirk@…> (12/18/17 12:07:10)
Message:

Make scaleImages() a static function

It was only used by the DivePictureModel? class, no need to export it.

Signed-off-by: Berthold Stoeger <bstoeger@…>

Location:
qt-models
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • qt-models/divepicturemodel.cpp

    r2890be9 r2f5f1e0  
    1111static QMutex thumbnailMutex;
    1212
    13 void scaleImages(PictureEntry &entry)
     13static void scaleImages(PictureEntry &entry)
    1414{
    1515        QMutexLocker l(&thumbnailMutex);
  • qt-models/divepicturemodel.h

    r5b7e4c5 r2f5f1e0  
    1313        int offsetSeconds;
    1414};
    15 
    16 // function that will scale the pixmap, used inside the QtConcurrent thread.
    17 void scaleImages(PictureEntry &entry);
    1815
    1916class DivePictureModel : public QAbstractTableModel {
Note: See TracChangeset for help on using the changeset viewer.