From 01bbbaed54e4eb540a3be3ad33bcac8beb31acc3 Mon Sep 17 00:00:00 2001 From: Karliss Date: Wed, 5 Jun 2024 01:25:14 +0300 Subject: [PATCH] Use QRegularExpression. QRegEx has been replaced by QRegularExpression in latest versions of Qt. --- cutter-plugin/YaraAddDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cutter-plugin/YaraAddDialog.cpp b/cutter-plugin/YaraAddDialog.cpp index f630c1a..21ba1a6 100644 --- a/cutter-plugin/YaraAddDialog.cpp +++ b/cutter-plugin/YaraAddDialog.cpp @@ -24,7 +24,7 @@ YaraAddDialog::YaraAddDialog(RVA offset, QWidget *parent) QString name = QString(flag->name); if (name.startsWith("str.")) { name = name.replace("str.", ""); - name = name.replace(QRegExp("[^A-Za-z0-9_]+"), ""); + name = name.replace(QRegularExpression("[^A-Za-z0-9_]+"), ""); if (!name.isEmpty()) { ui->nameEdit->setText(name); }