From e93a09901caa9c96eafb667e128e3e593459c0d3 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Thu, 14 Sep 2023 15:13:46 +0200 Subject: [PATCH] finish review of polyhedron demo --- Polyhedron/demo/Polyhedron/Scene.cpp | 1 - Polyhedron/demo/Polyhedron/Show_point_dialog.cpp | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Polyhedron/demo/Polyhedron/Scene.cpp b/Polyhedron/demo/Polyhedron/Scene.cpp index a00ef63117f..feb5ab6f002 100644 --- a/Polyhedron/demo/Polyhedron/Scene.cpp +++ b/Polyhedron/demo/Polyhedron/Scene.cpp @@ -15,7 +15,6 @@ #include #include #include -#include #include #include #include diff --git a/Polyhedron/demo/Polyhedron/Show_point_dialog.cpp b/Polyhedron/demo/Polyhedron/Show_point_dialog.cpp index 5df594bc57c..915c6a0494f 100644 --- a/Polyhedron/demo/Polyhedron/Show_point_dialog.cpp +++ b/Polyhedron/demo/Polyhedron/Show_point_dialog.cpp @@ -53,7 +53,7 @@ void Show_point_dialog::interprete_string(const QString& string) + "$"; QRegularExpression re(full_re); - QRegularExpressionMatch match = re.match(string); // AF @todo QRegExp had exactMatch() + QRegularExpressionMatch match = re.match(string); if(match.hasMatch()) { // const double x = re.cap(1).toDouble(); // const double y = re.cap(2).toDouble();