From 32ccb724de4f60af359d0ec07b485d6d771971b3 Mon Sep 17 00:00:00 2001 From: Nicolas Fella Date: Wed, 17 Mar 2021 15:33:04 +0100 Subject: [PATCH] Don't init flags with nullptr It's unneeded and deprecated --- kstyle/breezestyle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kstyle/breezestyle.cpp b/kstyle/breezestyle.cpp index bde64c24..9b152708 100644 --- a/kstyle/breezestyle.cpp +++ b/kstyle/breezestyle.cpp @@ -4819,7 +4819,7 @@ namespace Breeze const auto color = _helper->focusColor( palette ); const auto outlineColor = _helper->focusOutlineColor( palette ); - Sides sides = nullptr; + Sides sides; if( !menuItemOption->menuRect.isNull() ) { if( rect.top() <= menuItemOption->menuRect.top() ) sides |= SideTop;