Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 84ec9a6

Browse files
committed
Logger: Declare Log::Event as a meta type, so things actually work
1 parent 9773cae commit 84ec9a6

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Libs/libLogger/Internal.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
#include <QCoreApplication>
2424
#include <QThread>
2525

26+
Q_DECLARE_METATYPE(Log::Event)
27+
2628
namespace Log
2729
{
2830

@@ -38,6 +40,7 @@ namespace Log
3840
: mNextId(1)
3941
, mConsumer(nullptr)
4042
{
43+
qRegisterMetaType<Log::Event>();
4144
createDefaultChannels();
4245
}
4346

0 commit comments

Comments
 (0)