Fixed clazy warnings: use QStringRef.

This commit is contained in:
Mat Sutcliffe
2018-12-17 17:43:44 +00:00
parent c71d358648
commit cecec6107c
2 changed files with 2 additions and 2 deletions

View File

@@ -74,7 +74,7 @@ namespace BlackMisc
{
m_indexes.clear();
if (indexes.isEmpty()) { return; }
for (const QString &index : indexes.split(';'))
for (const QStringRef &index : indexes.splitRef(';'))
{
if (index.isEmpty()) { continue; }
bool ok;