diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2013-12-24 10:21:35 -0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-12-24 07:24:12 -0800 |
commit | 09096f9af418805560968e1721dcfb83bf9bd511 (patch) | |
tree | f70691e99f0199965decb39863eac7c251395986 /qt-ui | |
parent | 1a933e7e19ba3ded1ab508dfb7ef4f19a1da4519 (diff) | |
download | subsurface-09096f9af418805560968e1721dcfb83bf9bd511.tar.gz |
use qMakePair helper instead of QPair<int,int> and such.
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r-- | qt-ui/diveplanner.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/diveplanner.cpp b/qt-ui/diveplanner.cpp index 54db1ad7f..6d5390b07 100644 --- a/qt-ui/diveplanner.cpp +++ b/qt-ui/diveplanner.cpp @@ -1329,7 +1329,7 @@ QVector<QPair<int, int> > DivePlannerPointsModel::collectGases(struct dive *d) for (int i = 0; i < MAX_CYLINDERS; i++) { cylinder_t *cyl = &d->cylinder[i]; if (!cylinder_nodata(cyl)) - l.push_back(QPair<int, int>(cyl->gasmix.o2.permille, cyl->gasmix.he.permille)); + l.push_back(qMakePair(cyl->gasmix.o2.permille, cyl->gasmix.he.permille)); } return l; } |