diff options
author | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-02 00:24:26 +0200 |
---|---|---|
committer | Nicolas Werner <nicolas.werner@hotmail.de> | 2023-06-08 22:32:07 +0200 |
commit | b518f6902e909b22e1623f96249a3ab1424ced59 (patch) | |
tree | 97fe4bdf0f2ffb1e35904c1d2111c6e566984d7c /src/voip/WebRTCSession.cpp | |
parent | Select Qt6 in cmake (diff) | |
download | nheko-b518f6902e909b22e1623f96249a3ab1424ced59.tar.xz |
Make Nheko compile on Qt6
Diffstat (limited to '')
-rw-r--r-- | src/voip/WebRTCSession.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/voip/WebRTCSession.cpp b/src/voip/WebRTCSession.cpp index c0cab4ac..c8bc9cb5 100644 --- a/src/voip/WebRTCSession.cpp +++ b/src/voip/WebRTCSession.cpp @@ -41,9 +41,6 @@ extern "C" // https://github.com/vector-im/riot-web/issues/10173 #define STUN_SERVER "stun://turn.matrix.org:3478" -Q_DECLARE_METATYPE(webrtc::CallType) -Q_DECLARE_METATYPE(webrtc::ScreenShareType) -Q_DECLARE_METATYPE(webrtc::State) using webrtc::CallType; using webrtc::ScreenShareType; @@ -52,7 +49,6 @@ using webrtc::State; WebRTCSession::WebRTCSession() : devices_(CallDevices::instance()) { - qRegisterMetaType<webrtc::CallType>(); qmlRegisterUncreatableMetaObject(webrtc::staticMetaObject, "im.nheko", 1, @@ -60,7 +56,6 @@ WebRTCSession::WebRTCSession() "CallType", QStringLiteral("Can't instantiate enum")); - qRegisterMetaType<webrtc::ScreenShareType>(); qmlRegisterUncreatableMetaObject(webrtc::staticMetaObject, "im.nheko", 1, @@ -68,7 +63,6 @@ WebRTCSession::WebRTCSession() "ScreenShareType", QStringLiteral("Can't instantiate enum")); - qRegisterMetaType<webrtc::State>(); qmlRegisterUncreatableMetaObject(webrtc::staticMetaObject, "im.nheko", 1, |