From 1bb09a61fb385365a28a75fd296acafa66438164 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niccol=C3=B2=20Betto?= <niccolo.betto@skywarder.eu>
Date: Thu, 13 Mar 2025 12:48:05 +0100
Subject: [PATCH] [Misc] Minor fixes to IDE config and compiler warning

---
 .vscode/settings.json                          | 1 +
 src/shared/Modules/ValvesViewer/ValvesViewer.h | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/.vscode/settings.json b/.vscode/settings.json
index 21ef00b..7cc8796 100644
--- a/.vscode/settings.json
+++ b/.vscode/settings.json
@@ -174,6 +174,7 @@
     "[xml]": {
         "editor.defaultFormatter": "redhat.vscode-xml"
     },
+    "C_Cpp.default.compileCommands": "${workspaceFolder}/build/compile_commands.json",
     "cSpell.words": [
         "cppcheck",
         "entrypoints",
diff --git a/src/shared/Modules/ValvesViewer/ValvesViewer.h b/src/shared/Modules/ValvesViewer/ValvesViewer.h
index 2a68dc1..d2f8f88 100644
--- a/src/shared/Modules/ValvesViewer/ValvesViewer.h
+++ b/src/shared/Modules/ValvesViewer/ValvesViewer.h
@@ -49,7 +49,7 @@ private:
 
     Filter filter;
     ValvesList::Valve currentState;
-    static constexpr char* baseStylesheet =
+    static constexpr const char* baseStylesheet =
         "border-bottom-width:1px;border-left-width:1px;border-top-width:"
         "1px;border-radius:0;";
 };
-- 
GitLab