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