From 8a4a770104ba75b770671d3e69be6687736f7c8e Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 20 Aug 2015 12:57:57 +0200 Subject: change new line position --- diceparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/diceparser.cpp b/diceparser.cpp index b3add42..6d043a1 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -933,7 +933,7 @@ void DiceParser::writeDownDotTree(QString filepath) { QString str("digraph ExecutionTree {\n"); m_start->generateDotTree(str); - str.append("}"); + str.append("}\n"); QFile file(filepath); @@ -942,7 +942,7 @@ void DiceParser::writeDownDotTree(QString filepath) QTextStream in(&file); in << str; } - in << "\n"; + } void DiceParser::setPathToHelp(QString l) { -- cgit v1.2.3-70-g09d2