From 97b2ebe1b0d2bafb9d870bc9422ee721e08a6657 Mon Sep 17 00:00:00 2001 From: John Fultz Date: Sat, 15 Jul 2023 21:03:02 -0500 Subject: QRegEx -> QRegularExpression I think these changes would still be fine in Qt5, but are required for Qt6. Also DataLocation was deprecated in v6, AppLocalDataLocation is the same for both Qt5 and Qt6. --- quackleio/flexiblealphabet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'quackleio/flexiblealphabet.cpp') diff --git a/quackleio/flexiblealphabet.cpp b/quackleio/flexiblealphabet.cpp index 34ce229..011e59b 100644 --- a/quackleio/flexiblealphabet.cpp +++ b/quackleio/flexiblealphabet.cpp @@ -51,7 +51,7 @@ bool FlexibleAlphabetParameters::load(const QString &filename) while (!stream.atEnd()) { line = stream.readLine().simplified(); - QStringList strings = line.split(QRegExp("\\s+")); + QStringList strings = line.split(QRegularExpression("\\s+")); if (line.startsWith("#")) continue; -- cgit v1.2.3