Commit d205d0f0 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Fix qMakePair compile error against qt6

parent a8e32114
Pipeline #198746 passed with stage
in 2 minutes and 4 seconds
......@@ -72,7 +72,7 @@ int main(int argc, char** argv)
double to = QStringView(interval).mid(dotdotIdx+2).toDouble(&ok);
#endif
Q_ASSERT(ok);
intervals[interval.left(equalIdx)] = qMakePair<double, double>(from, to);
intervals[interval.left(equalIdx)] = qMakePair<double, double>(double(from), double(to));
}
QStringList args = parser.positionalArguments();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment