| 438 | } |
| 439 | |
| 440 | static void writeToFile(const QString &path, const QString &str) |
| 441 | { |
| 442 | QFile file(path); |
| 443 | |
| 444 | if (file.open(QFile::WriteOnly | QFile::Truncate)) |
| 445 | { |
| 446 | QTextStream out(&file); |
| 447 | |
| 448 | out << str; |
| 449 | } |
| 450 | else |
| 451 | { |
| 452 | qDebug() << "could not open the file: " << path; |
| 453 | } |
| 454 | } |
| 455 | |
| 456 | void ExecutionWindow::showPixelTree() |
| 457 | { |