Qt: Fix a version check.

Qt::endl was introduced in 5.14.
This commit is contained in:
Gerald Combs 2022-05-11 09:21:41 -07:00
parent ad28888d2f
commit 7b749f5e15
1 changed files with 1 additions and 1 deletions

View File

@ -244,7 +244,7 @@ void FilterListModel::saveList()
QString line = QString("\"%1\"").arg(index(row, ColumnName).data().toString().trimmed());
line.append(QString(" %1").arg(index(row, ColumnExpression).data().toString()));
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
out << line << Qt::endl;
#else
out << line << endl;