diff options
author | Antti Määttä <antti.maatta@qt.io> | 2023-05-31 09:22:48 +0300 |
---|---|---|
committer | Antti Määttä <antti.maatta@qt.io> | 2023-06-02 17:53:26 +0300 |
commit | fdce0cbbc9644d4b2e591236453b732b0e0a4fb9 (patch) | |
tree | a3ea63f43e60effacd9140ea27410c3b35c8fa72 /src | |
parent | dad95f4a43af97b216ee33aa384ab98963cbdba0 (diff) |
CTF: Fix coding style
Pick-to: 6.5
Change-Id: Idf3a593949c3ac58438d499e2487375d20bebab7
Reviewed-by: Janne Koskinen <janne.p.koskinen@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/tracing/qctflib.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/tracing/qctflib.cpp b/src/plugins/tracing/qctflib.cpp index caa868ff64..b3b4c082b8 100644 --- a/src/plugins/tracing/qctflib.cpp +++ b/src/plugins/tracing/qctflib.cpp @@ -57,27 +57,27 @@ QCtfLibImpl::QCtfLibImpl() { QString location = qEnvironmentVariable("QTRACE_LOCATION"); if (location.isEmpty()) { - qCInfo (lcDebugTrace) << "QTRACE_LOCATION not set"; + qCInfo(lcDebugTrace) << "QTRACE_LOCATION not set"; return; } // Check if the location is writable if (QT_ACCESS(qPrintable(location), W_OK) != 0) { - qCWarning (lcDebugTrace) << "Unable to write to location"; + qCWarning(lcDebugTrace) << "Unable to write to location"; return; } const QString filename = location + QStringLiteral("/session.json"); FILE *file = fopen(qPrintable(filename), "rb"); if (!file) { - qCWarning (lcDebugTrace) << "unable to open session file: " << filename; + qCWarning(lcDebugTrace) << "unable to open session file: " << filename; m_location = location; m_session.tracepoints.append(QStringLiteral("all")); m_session.name = QStringLiteral("default"); } else { QT_STATBUF stat; if (QT_FSTAT(QT_FILENO(file), &stat) != 0) { - qCWarning (lcDebugTrace) << "Unable to stat session file, " << qt_error_string(); + qCWarning(lcDebugTrace) << "Unable to stat session file, " << qt_error_string(); return; } qsizetype filesize = qMin(stat.st_size, std::numeric_limits<qsizetype>::max()); |