finish review of polyhedron demo

This commit is contained in:
Laurent Rineau 2023-09-14 15:13:46 +02:00
parent 09a4ac1ad7
commit e93a09901c
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,6 @@
#include <QObject> #include <QObject>
#include <QMetaObject> #include <QMetaObject>
#include <QString> #include <QString>
#include <QOpenGLWidget>
#include <QEvent> #include <QEvent>
#include <QMouseEvent> #include <QMouseEvent>
#include <QPainter> #include <QPainter>

View File

@ -53,7 +53,7 @@ void Show_point_dialog::interprete_string(const QString& string)
+ "$"; + "$";
QRegularExpression re(full_re); QRegularExpression re(full_re);
QRegularExpressionMatch match = re.match(string); // AF @todo QRegExp had exactMatch() QRegularExpressionMatch match = re.match(string);
if(match.hasMatch()) { if(match.hasMatch()) {
// const double x = re.cap(1).toDouble(); // const double x = re.cap(1).toDouble();
// const double y = re.cap(2).toDouble(); // const double y = re.cap(2).toDouble();