From a20f6f559bf3d9a40acdec2dd556d6cdd1480f83 Mon Sep 17 00:00:00 2001 From: harry Date: Mon, 15 May 2023 21:29:42 -0400 Subject: [PATCH] Compiler warning fix for potential uninitialized var. --- src/drivers/Qt/GuiConf.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/drivers/Qt/GuiConf.cpp b/src/drivers/Qt/GuiConf.cpp index 2147658b..3bc6b7a9 100644 --- a/src/drivers/Qt/GuiConf.cpp +++ b/src/drivers/Qt/GuiConf.cpp @@ -989,6 +989,8 @@ static int readQPaletteFromFile( const char *path, QPalette *pal ) rTxtMatch = NULL; + r = QPalette::WindowText; + for (k=0; k<30; k++) {