Fix plugin compilation error when using Qt 6 (#4504)

This commit is contained in:
nerix 2023-04-02 20:30:15 +02:00 committed by GitHub
parent bdab5e021c
commit 149399a072
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -22,7 +22,7 @@
- Dev: Only log debug messages when NDEBUG is not defined. (#4442) - Dev: Only log debug messages when NDEBUG is not defined. (#4442)
- Dev: Cleaned up theme related code. (#4450) - Dev: Cleaned up theme related code. (#4450)
- Dev: Ensure tests have default-initialized settings. (#4498) - 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: Conan 2.0 is now used instead of Conan 1.0. (#4417)
- Dev: Added tests and benchmarks for `LinkParser`. (#4436) - Dev: Added tests and benchmarks for `LinkParser`. (#4436)

View file

@ -50,7 +50,7 @@ QDebug qdebugStreamForLogLevel(lua::api::LogLevel lvl)
return base.critical(); return base.critical();
default: default:
assert(false && "if this happens magic_enum must have failed us"); assert(false && "if this happens magic_enum must have failed us");
return {(QString *)nullptr}; return QDebug((QString *)nullptr);
} }
} }