From 557ef226d77c2f693c13e5fee46e50995056f900 Mon Sep 17 00:00:00 2001
From: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
Date: Wed, 11 Nov 2026 08:51:46 -0300
Subject: Initialize the X11 child pointer with nullptr
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Sebastião Guerra <sebastiao.luiz.guerra@gmail.com>
---
 kalarm/traywindow.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kalarm/traywindow.cpp b/kalarm/traywindow.cpp
index a23bac97b..eb79a7348 100644
--- a/kalarm/traywindow.cpp
+++ b/kalarm/traywindow.cpp
@@ -326,7 +326,7 @@ bool TrayWindow::inSystemTray() const
 #ifdef HAVE_X11_HEADERS
 	Window  xParent;    // receives parent window
 	Window  root;
-	Window* children = 0;
+	Window* children = nullptr;
 	unsigned int nchildren;
 	// Find the X parent window of the widget. This is not the same as the TQt parent widget.
 	if (!XQueryTree(tqt_xdisplay(), winId(), &root, &xParent, &children, &nchildren))
-- 
cgit v1.2.3

