From 8a66f62a1f9226620d16af07c3afd580ddd5a65c Mon Sep 17 00:00:00 2001 From: Renaud G Date: Thu, 20 Aug 2015 12:57:29 +0200 Subject: Add new line at the end --- diceparser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'diceparser.cpp') diff --git a/diceparser.cpp b/diceparser.cpp index 8f930a0..b3add42 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -942,6 +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 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(-) (limited to 'diceparser.cpp') 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