Mod: replace QRegExp with QRegularExpression
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
|
||||
# include <cfloat>
|
||||
# include <QMessageBox>
|
||||
# include <QRegExp>
|
||||
# include <QRegularExpression>
|
||||
# include <QTreeWidget>
|
||||
#endif
|
||||
|
||||
@@ -142,7 +142,7 @@ bool Mirroring::accept()
|
||||
activeDoc->openTransaction("Mirroring");
|
||||
|
||||
QString shape, label;
|
||||
QRegExp rx(QString::fromLatin1(" \\(Mirror #\\d+\\)$"));
|
||||
QRegularExpression rx(QString::fromLatin1(" \\(Mirror #\\d+\\)$"));
|
||||
QList<QTreeWidgetItem *> items = ui->shapes->selectedItems();
|
||||
float normx=0, normy=0, normz=0;
|
||||
int index = ui->comboBox->currentIndex();
|
||||
|
||||
Reference in New Issue
Block a user