mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Suppress Qt 5.15 deprecation warnings
This commit is contained in:
@@ -265,7 +265,7 @@ namespace BlackCore
|
||||
{
|
||||
// ; !CLIENTS section
|
||||
const int i = currentLine.lastIndexOf(' ');
|
||||
const QVector<QStringRef> attributes = currentLine.midRef(i).trimmed().split(':', QString::SkipEmptyParts);
|
||||
const QVector<QStringRef> attributes = currentLine.midRef(i).trimmed().split(':', Qt::SkipEmptyParts);
|
||||
for (const QStringRef &attr : attributes) { clientSectionAttributes.push_back(attr.toString().trimmed().toLower()); }
|
||||
section = SectionNone; // reset
|
||||
|
||||
|
||||
Reference in New Issue
Block a user