--- logging (debug) ---
| 67 | |
| 68 | // --- logging (debug) --- |
| 69 | static QString circleToolsLogFilePath() { |
| 70 | QString dir = QStandardPaths::writableLocation(QStandardPaths::TempLocation); |
| 71 | if (dir.isEmpty()) dir = QDir::homePath(); |
| 72 | return QDir(dir).filePath(QStringLiteral("CircleTools.log")); |
| 73 | } |
| 74 | |
| 75 | static void logLine(const QString& line) { |
| 76 | QFile f(circleToolsLogFilePath()); |
no test coverage detected