Skip to content

Commit

Permalink
fix format with clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
Monirzadeh committed Jul 2, 2024
1 parent de2150a commit a46f8e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/utils/screengrabber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 <QApplication>
Expand All @@ -12,7 +13,6 @@
#include <QPixmap>
#include <QProcess>
#include <QScreen>
#include "src/utils/confighandler.h"

#if defined(Q_OS_LINUX) || defined(Q_OS_UNIX)
#include "request.h"
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit a46f8e4

Please sign in to comment.