From a46f8e4874b26c9320f645cb9fb59651cf783f54 Mon Sep 17 00:00:00 2001 From: monirzadeh <25131576+Monirzadeh@users.noreply.github.com> Date: Tue, 2 Jul 2024 14:28:52 +0330 Subject: [PATCH] fix format with clang-format --- src/utils/screengrabber.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/utils/screengrabber.cpp b/src/utils/screengrabber.cpp index ebd3a10993..9ce3854f43 100644 --- a/src/utils/screengrabber.cpp +++ b/src/utils/screengrabber.cpp @@ -4,6 +4,7 @@ #include "screengrabber.h" #include "abstractlogger.h" #include "src/core/qguiappcurrentscreen.h" +#include "src/utils/confighandler.h" #include "src/utils/filenamehandler.h" #include "src/utils/systemnotification.h" #include @@ -12,7 +13,6 @@ #include #include #include -#include "src/utils/confighandler.h" #if defined(Q_OS_LINUX) || defined(Q_OS_UNIX) #include "request.h" @@ -142,12 +142,12 @@ QPixmap ScreenGrabber::grabEntireDesktop(bool& ok) "activate the grim-based general wayland screenshot adapter"); freeDesktopPortal(ok, res); #else - if (!ConfigHandler().disabledGrimWarning()) { - AbstractLogger::warning() - << tr("grim's screenshot component is implemented based on " - "wlroots, it may not be used in GNOME or similar " - "desktop environments"); - } + if (!ConfigHandler().disabledGrimWarning()) { + AbstractLogger::warning() << tr( + "grim's screenshot component is implemented based on " + "wlroots, it may not be used in GNOME or similar " + "desktop environments"); + } generalGrimScreenshot(ok, res); #endif break;