Migrated to qt6.

This commit is contained in:
Storm Dragon
2025-06-30 17:15:11 -04:00
parent ae0f9c16a8
commit 811bae82d7
22 changed files with 197 additions and 66 deletions

View File

@ -1,6 +1,7 @@
#include "axis.h"
#include "event.h"
#include "time.h"
#include <QRegularExpression>
#define sqr(a) ((a)*(a))
#define cub(a) ((a)*(a)*(a))
@ -31,7 +32,7 @@ bool Axis::read( QTextStream &stream ) {
//read in a line from the stream, and split it up into individual words
QString input = stream.readLine().toLower();
QRegExp regex("[\\s,]+");
QRegularExpression regex("[\\s,]+");
QStringList words = input.split(regex);
//used to assure QString->int conversions worked