MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / writeToFile

Function writeToFile

cp-profiler/src/cpprofiler/execution_window.cpp:440–454  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

438}
439
440static 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
456void ExecutionWindow::showPixelTree()
457{

Callers 1

print_logMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected