From 0808e1910ba019f0787e170eaf43357067d304b1 Mon Sep 17 00:00:00 2001 From: "Joachim Wuttke (o)" <j.wuttke@fz-juelich.de> Date: Thu, 16 Feb 2023 13:35:10 +0100 Subject: [PATCH] clang-format --- App/MessageHandler.cpp | 5 ++--- Base/Util/Assert.h | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/App/MessageHandler.cpp b/App/MessageHandler.cpp index 229f3bfbc9d..84c8cc6c447 100644 --- a/App/MessageHandler.cpp +++ b/App/MessageHandler.cpp @@ -42,9 +42,8 @@ void messageHandler(QtMsgType type, const QMessageLogContext&, const QString& ms "Sorry, you encountered a fatal bug.\n" "The application will terminate.\n" "Please note the following and inform the maintainers.\n\n" - + msg + "\n", - QMessageBox::Ok, - QApplication::activeWindow()); + + msg + "\n", + QMessageBox::Ok, QApplication::activeWindow()); msgbox.exec(); qApp->quit(); exit(1); diff --git a/Base/Util/Assert.h b/Base/Util/Assert.h index f334fb87a5a..d7d496272a0 100644 --- a/Base/Util/Assert.h +++ b/Base/Util/Assert.h @@ -41,7 +41,7 @@ #include <QtGlobal> #define ASSERT(condition) \ if (!(condition)) \ - qFatal("Assertion %s failed in %s, line %d", (#condition), __FILE__, __LINE__) + qFatal("Assertion %s failed in %s, line %d", (#condition), __FILE__, __LINE__) #else -- GitLab