From 94864233ae59c62cb5083221a576549eafd692c7 Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 2 Apr 2023 18:58:22 +0200 Subject: [PATCH 1/2] fix: copy-list-initialization of QDebug --- src/controllers/plugins/LuaAPI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/plugins/LuaAPI.cpp b/src/controllers/plugins/LuaAPI.cpp index ff57d7e282b..6ffaf498265 100644 --- a/src/controllers/plugins/LuaAPI.cpp +++ b/src/controllers/plugins/LuaAPI.cpp @@ -50,7 +50,7 @@ QDebug qdebugStreamForLogLevel(lua::api::LogLevel lvl) return base.critical(); default: assert(false && "if this happens magic_enum must have failed us"); - return {(QString *)nullptr}; + return QDebug((QString *)nullptr); } } From 60bfffef8e6aecee0672e3abbfe0c9d344536d4a Mon Sep 17 00:00:00 2001 From: Nerixyz Date: Sun, 2 Apr 2023 19:06:25 +0200 Subject: [PATCH 2/2] chore: add changelog entry --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7c65d6ff431..ca71d500c0f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -22,7 +22,7 @@ - Dev: Only log debug messages when NDEBUG is not defined. (#4442) - Dev: Cleaned up theme related code. (#4450) - Dev: Ensure tests have default-initialized settings. (#4498) -- Dev: Add scripting capabilities with Lua (#4341) +- Dev: Add scripting capabilities with Lua (#4341, #4504) - Dev: Conan 2.0 is now used instead of Conan 1.0. (#4417) - Dev: Added tests and benchmarks for `LinkParser`. (#4436)