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>
This commit is contained in:
Tomaz Canabrava 2013-12-24 10:21:35 -02:00 committed by Dirk Hohndel
parent 1a933e7e19
commit 09096f9af4

View file

@ -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;
}