mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-09-21 21:26:12 +00:00
Add QIODevice::Text for text writing, to convert newlines. Refs #1246
This commit is contained in:
@@ -211,7 +211,7 @@ void ConstantBufferPreviewer::on_saveCSV_clicked()
|
||||
if(dirinfo.exists())
|
||||
{
|
||||
QFile f(filename, this);
|
||||
if(f.open(QIODevice::WriteOnly | QIODevice::Truncate))
|
||||
if(f.open(QIODevice::WriteOnly | QIODevice::Truncate | QIODevice::Text))
|
||||
{
|
||||
QTextStream ts(&f);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user