style: reformat C/C++ sources and headers with clang-format

Run clang-format over all project C/C++ source and header files
(.c, .cpp, .cc, .h, .hpp, .hh, .m, .mm) under app/ and tests/.
Non-source files (svg, qm, qrc, etc.) were not touched.
This commit is contained in:
2026-07-13 15:34:11 +08:00
parent 6a696bc234
commit f03b6b58ff
61 changed files with 2873 additions and 2740 deletions
+7 -7
View File
@@ -4,13 +4,13 @@
TEST(CommonDebug, DebugHandlerFormatsAllLevels)
{
// Install handler and restore after test
QtMessageHandler old = qInstallMessageHandler(olive::DebugHandler);
// Install handler and restore after test
QtMessageHandler old = qInstallMessageHandler(olive::DebugHandler);
qDebug() << "debug message";
qInfo() << "info message";
qWarning() << "warning message";
qCritical() << "critical message";
qDebug() << "debug message";
qInfo() << "info message";
qWarning() << "warning message";
qCritical() << "critical message";
qInstallMessageHandler(old);
qInstallMessageHandler(old);
}