From bc4a40de76cb9b157c0076c6fec7315f919a392e Mon Sep 17 00:00:00 2001
From: Wayne Stambaugh <stambaughw@gmail.com>
Date: Wed, 19 Mar 2025 12:38:50 -0400
Subject: [PATCH] Fix Coverity issue #543091.

https://scan8.scan.coverity.com/#/project-view/22886/10844?selectedIssue=543091
---
 include/tool/ui/toolbar_configuration.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/tool/ui/toolbar_configuration.h b/include/tool/ui/toolbar_configuration.h
index 7272ac250e..07e63141ea 100644
--- a/include/tool/ui/toolbar_configuration.h
+++ b/include/tool/ui/toolbar_configuration.h
@@ -45,7 +45,9 @@ enum class TOOLBAR_ITEM_TYPE
 class KICOMMON_API TOOLBAR_ITEM
 {
 public:
-    TOOLBAR_ITEM()
+    TOOLBAR_ITEM() :
+        m_Type( TOOLBAR_ITEM_TYPE::TOOL ),
+        m_Size( 0 )
     { }
 
     TOOLBAR_ITEM( TOOLBAR_ITEM_TYPE aType ) :