From 13ddb6dba51fb01ba2c2b57bc70ea01186473b96 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 15 Jan 2024 21:32:38 +0100 Subject: [PATCH] Apply clang-format --- tray/gui/traymenu.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tray/gui/traymenu.cpp b/tray/gui/traymenu.cpp index bdd8830..39451aa 100644 --- a/tray/gui/traymenu.cpp +++ b/tray/gui/traymenu.cpp @@ -110,8 +110,7 @@ bool TrayMenu::event(QEvent *event) return true; } break; - default: - ; + default:; } #endif return QMenu::event(event); @@ -231,8 +230,7 @@ void TrayMenu::paintEvent(QPaintEvent *event) QMenu::paintEvent(event); } else { #ifdef TRAY_MENU_HANDLE_WINDOWS11_STYLE - const auto p = m_windowType != TrayMenu::WindowType::Popup && m_isWindows11Style - ? QGuiApplication::palette() : palette(); + const auto p = m_windowType != TrayMenu::WindowType::Popup && m_isWindows11Style ? QGuiApplication::palette() : palette(); #else const auto p = palette(); #endif