From eb23e772c7faae4ce371b2736dd80fae782b424f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Micha=C3=ABl=20Celerier?= Date: Sun, 12 Jan 2025 18:03:01 -0500 Subject: [PATCH] ci: qt 6.2 fixes --- .github/workflows/tarball.yml | 2 +- .../Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tarball.yml b/.github/workflows/tarball.yml index 1b5b04d31d..75c539e188 100644 --- a/.github/workflows/tarball.yml +++ b/.github/workflows/tarball.yml @@ -31,7 +31,7 @@ jobs: force_push_tag: true - name: Build - run: + run: | export GITTAGNOV=$(echo "$GITHUB_REF" | sed "s/.*\///;s/^v//") ./ci/tarball.build.sh env: diff --git a/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp b/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp index 05024d2bc2..48ebc10cc9 100644 --- a/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp +++ b/src/plugins/score-plugin-protocols/Protocols/Bitfocus/BitfocusProtocolSettingsWidget.cpp @@ -81,8 +81,7 @@ static void makeValidator(QLineEdit* widg, QString rx) auto val = new QRegularExpressionValidator; if(rx.startsWith("/^")) { - rx.removeAt(0); - rx.removeAt(0); + rx.remove(0, 2); } if(rx.endsWith("$/")) {