mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 13:30:34 +01:00
QTextStreamFunctions::endl(QTextStream&)
Use Qt::endl instead
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user