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
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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);
}
}