diff options
| author | 2015-04-24 21:05:23 +0200 | |
|---|---|---|
| committer | 2015-04-24 21:05:23 +0200 | |
| commit | 7ec87c14e11b84dcf0af0b0176da15225362ada6 (patch) | |
| tree | 31adf7a0943f1485b36f90f4c72abcb91bb8030f /diceparser.cpp | |
| parent | c356c8bf53f46efb2ba0aaa6d91ef4c4ade320b6 (diff) | |
| download | OneRoll-7ec87c14e11b84dcf0af0b0176da15225362ada6.tar.gz OneRoll-7ec87c14e11b84dcf0af0b0176da15225362ada6.zip | |
file output for dot
Diffstat (limited to 'diceparser.cpp')
| -rw-r--r-- | diceparser.cpp | 6 |
1 files 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 <QDebug> #include <QStringList> #include <QObject> - +#include <QFile> #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; |