From 7ec87c14e11b84dcf0af0b0176da15225362ada6 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Fri, 24 Apr 2015 21:05:23 +0200 Subject: file output for dot --- diceparser.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/diceparser.cpp b/diceparser.cpp index a2015d8..c710f55 100644 --- a/diceparser.cpp +++ b/diceparser.cpp @@ -23,7 +23,7 @@ #include #include #include - +#include #include "node/startingnode.h" #include "node/scalaroperatornode.h" @@ -922,12 +922,12 @@ void DiceParser::writeDownDotTree(QString filepath) str.append("}"); - /*QFile file(filepath); + QFile file(filepath); if(file.open(QIODevice::WriteOnly)) { QTextStream in(&file); in << str; - }*/ + } //qDebug()<< str; -- cgit v1.2.3-70-g09d2