More deprecation warnings.

This commit is contained in:
Roman Telezhynskyi 2020-07-07 19:15:43 +03:00
parent e2669b4e2b
commit dd9cfb39f5

View File

@ -647,7 +647,11 @@ bool QxtCsvModel::toCSV(QIODevice* dest, QString &error, bool withHeader, QChar
stream << data << Qt::endl; stream << data << Qt::endl;
#endif #endif
} }
#if QT_VERSION < QT_VERSION_CHECK(5, 15, 0)
stream << flush; stream << flush;
#else
stream << Qt::flush;
#endif
dest->close(); dest->close();
return true; return true;
} }