diff options
Diffstat (limited to 'qthelper.cpp')
-rw-r--r-- | qthelper.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qthelper.cpp b/qthelper.cpp index 8b7b3960f..b7b6f778b 100644 --- a/qthelper.cpp +++ b/qthelper.cpp @@ -305,7 +305,7 @@ void selectedDivesGasUsed(QVector<QPair<QString, int> > &gasUsedOrdered) } } Q_FOREACH(gas, gasUsed.keys()) { - gasUsedOrdered.append(QPair<QString, int>(gas, gasUsed[gas])); + gasUsedOrdered.append(qMakePair(gas, gasUsed[gas])); } qSort(gasUsedOrdered.begin(), gasUsedOrdered.end(), lessThan); } |