mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-24 03:10:52 +01:00
Fix FTBFS
QTextStreamFunctions::endl(QTextStream&) simple but no buffer flush
This commit is contained in:
@@ -66,7 +66,7 @@ bool nomenclature::saveToCSVFile()
|
||||
}
|
||||
if (file.open(QIODevice::WriteOnly | QIODevice::Text)){
|
||||
QTextStream stream(&file);
|
||||
stream << getNomenclature() << &Qt::endl(stream);
|
||||
stream << getNomenclature() << "\n";
|
||||
}
|
||||
else return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user