From 33928d45bd61c90568cf13f0156276bfd4c4d9ff Mon Sep 17 00:00:00 2001 From: nullobsi Date: Sun, 7 Mar 2021 20:57:19 -0800 Subject: [PATCH] clang-format --- src/utils/desktopinfo.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/desktopinfo.cpp b/src/utils/desktopinfo.cpp index c2d6d703..68943608 100644 --- a/src/utils/desktopinfo.cpp +++ b/src/utils/desktopinfo.cpp @@ -27,11 +27,11 @@ DesktopInfo::WM DesktopInfo::windowManager() { DesktopInfo::WM res = DesktopInfo::OTHER; QStringList desktops = XDG_CURRENT_DESKTOP.split(QChar(':')); - for (auto & desktop : desktops) { - if (desktop.contains(QLatin1String("GNOME"),Qt::CaseInsensitive)) { + for (auto& desktop : desktops) { + if (desktop.contains(QLatin1String("GNOME"), Qt::CaseInsensitive)) { return DesktopInfo::GNOME; } - if (desktop.contains(QLatin1String("sway"),Qt::CaseInsensitive)) { + if (desktop.contains(QLatin1String("sway"), Qt::CaseInsensitive)) { return DesktopInfo::SWAY; } if (desktop.contains(QLatin1String("kde-plasma"))) {