diff options
author | trilene <trilene@runbox.com> | 2020-10-27 17:26:46 -0400 |
---|---|---|
committer | trilene <trilene@runbox.com> | 2020-10-27 17:26:46 -0400 |
commit | b1300aff46625cce33f0244a173e09cba985dc3a (patch) | |
tree | 478322b82fd6c47f84b09e9da34d0dc204f8484a /src/WebRTCSession.h | |
parent | Merge remote-tracking branch 'upstream/master' into webrtc-video (diff) | |
download | nheko-b1300aff46625cce33f0244a173e09cba985dc3a.tar.xz |
Fix crash on exit
Diffstat (limited to 'src/WebRTCSession.h')
-rw-r--r-- | src/WebRTCSession.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/WebRTCSession.h b/src/WebRTCSession.h index d5e195a8..9c7778e7 100644 --- a/src/WebRTCSession.h +++ b/src/WebRTCSession.h @@ -4,13 +4,11 @@ #include <vector> #include <QObject> -#include <QSharedPointer> #include "mtx/events/voip.hpp" typedef struct _GstElement GstElement; class QQuickItem; -class UserSettings; namespace webrtc { Q_NAMESPACE @@ -57,7 +55,6 @@ public: bool toggleMicMute(); void end(); - void setSettings(QSharedPointer<UserSettings> settings) { settings_ = settings; } void setTurnServers(const std::vector<std::string> &uris) { turnServers_ = uris; } void refreshDevices(); @@ -95,7 +92,6 @@ private: GstElement *pipe_ = nullptr; GstElement *webrtc_ = nullptr; unsigned int busWatchId_ = 0; - QSharedPointer<UserSettings> settings_; std::vector<std::string> turnServers_; bool init(std::string *errorMessage = nullptr); |