diff --git a/src/plugins/lua/luaengine.cpp b/src/plugins/lua/luaengine.cpp index c4cd9d50b75..0c0501ab2ef 100644 --- a/src/plugins/lua/luaengine.cpp +++ b/src/plugins/lua/luaengine.cpp @@ -279,8 +279,8 @@ expected_str LuaEngine::prepareSetup( qCDebug(LOGLSPLUA) << "Script returned table with keys:"; for (const auto &pair : *pluginTable) { - qCDebug(LOGLSPLUA) << "Key:" << pair.first.as(); - qCDebug(LOGLSPLUA) << "Value:" << pair.second.as(); + qCDebug(LOGLSPLUA) << "Key:" << QByteArrayView(pair.first.as()); + qCDebug(LOGLSPLUA) << "Value:" << QByteArrayView(pair.second.as()); } auto hookTable = pluginTable->get>("hooks");