QTextStreamFunctions::endl(QTextStream&)

Use Qt::endl instead
This commit is contained in:
Laurent Trinques
2020-06-13 05:44:34 +02:00
parent 2aff40fd52
commit f41b3ba26f

View File

@@ -66,7 +66,7 @@ bool nomenclature::saveToCSVFile()
} }
if (file.open(QIODevice::WriteOnly | QIODevice::Text)){ if (file.open(QIODevice::WriteOnly | QIODevice::Text)){
QTextStream stream(&file); QTextStream stream(&file);
stream << getNomenclature() << endl; stream << getNomenclature() << &Qt::endl(stream);
} }
else return false; else return false;
} }