mirror of
https://github.com/tnodir/fort
synced 2024-11-15 13:06:36 +00:00
UI: Fix build for Qt 6.0
This commit is contained in:
parent
2abf26d475
commit
482cb64a12
@ -73,7 +73,7 @@ QVector<QStringRef> TaskZoneDownloader::parseAddresses(const QString &text,
|
|||||||
// Parse lines
|
// Parse lines
|
||||||
const QRegularExpression re(pattern());
|
const QRegularExpression re(pattern());
|
||||||
|
|
||||||
const auto lines = text.splitRef('\n', QString::SkipEmptyParts);
|
const auto lines = text.splitRef('\n', Qt::SkipEmptyParts);
|
||||||
|
|
||||||
for (const auto &line : lines) {
|
for (const auto &line : lines) {
|
||||||
if (line.startsWith('#')
|
if (line.startsWith('#')
|
||||||
|
Loading…
Reference in New Issue
Block a user