Remove qRegisterMetaTypeStreamOperators call for Qt6 builds
This commit is contained in:
parent
4e7764f328
commit
b4b4837b14
1 changed files with 2 additions and 0 deletions
|
@ -32,7 +32,9 @@ NotificationsListener::NotificationsListener(KdeConnectPlugin *aPlugin)
|
|||
: QObject(aPlugin)
|
||||
, m_plugin(aPlugin)
|
||||
{
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
qRegisterMetaTypeStreamOperators<NotifyingApplication>("NotifyingApplication");
|
||||
#endif
|
||||
|
||||
GError *error = nullptr;
|
||||
m_gdbusConnection = g_bus_get_sync(G_BUS_TYPE_SESSION, nullptr, &error);
|
||||
|
|
Loading…
Reference in a new issue