diff --git a/common/tikzpreviewgenerator.cpp b/common/tikzpreviewgenerator.cpp index c4d747b..548d67e 100644 --- a/common/tikzpreviewgenerator.cpp +++ b/common/tikzpreviewgenerator.cpp @@ -476,7 +476,7 @@ static QString createTempTikzFile(const QString &tikzFileBaseName, const QString QTextStream tikzStream(&tikzFile); codecProfile->configureStreamEncoding(tikzStream); - tikzStream << tikzCode << endl; + tikzStream << tikzCode << Qt::endl; tikzStream.flush(); tikzFile.close();