UI: Fix build for Qt 6.0

This commit is contained in:
Nodir Temirkhodjaev 2020-06-14 19:43:08 +03:00
parent 2abf26d475
commit 482cb64a12

View File

@ -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('#')