summary refs log tree commit diff
path: root/src/timeline/TimelineViewManager.h
diff options
context:
space:
mode:
authortrilene <trilene@runbox.com>2020-09-22 12:14:15 -0400
committertrilene <trilene@runbox.com>2020-09-22 12:14:15 -0400
commit44cfc8d22afd5b7522a13f52af67839de6a37dcc (patch)
tree2c6c0f1940f861d2e3efdcee841d03d7d997d01d /src/timeline/TimelineViewManager.h
parentPort ActiveCallBar to Qml (diff)
downloadnheko-44cfc8d22afd5b7522a13f52af67839de6a37dcc.tar.xz
clang-format
Diffstat (limited to 'src/timeline/TimelineViewManager.h')
-rw-r--r--src/timeline/TimelineViewManager.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/timeline/TimelineViewManager.h b/src/timeline/TimelineViewManager.h
index fdf1603d..243927ef 100644
--- a/src/timeline/TimelineViewManager.h
+++ b/src/timeline/TimelineViewManager.h
@@ -34,8 +34,7 @@ class TimelineViewManager : public QObject
           bool isInitialSync MEMBER isInitialSync_ READ isInitialSync NOTIFY initialSyncChanged)
         Q_PROPERTY(
           bool isNarrowView MEMBER isNarrowView_ READ isNarrowView NOTIFY narrowViewChanged)
-        Q_PROPERTY(
-          webrtc::State callState READ callState NOTIFY callStateChanged)
+        Q_PROPERTY(webrtc::State callState READ callState NOTIFY callStateChanged)
 
 public:
         TimelineViewManager(QSharedPointer<UserSettings> userSettings,
@@ -52,7 +51,10 @@ public:
         Q_INVOKABLE bool isInitialSync() const { return isInitialSync_; }
         bool isNarrowView() const { return isNarrowView_; }
         webrtc::State callState() const { return WebRTCSession::instance().state(); }
-        Q_INVOKABLE bool toggleMuteAudioSource() { return WebRTCSession::instance().toggleMuteAudioSource(); }
+        Q_INVOKABLE bool toggleMuteAudioSource()
+        {
+                return WebRTCSession::instance().toggleMuteAudioSource();
+        }
         Q_INVOKABLE void openImageOverlay(QString mxcUrl, QString eventId) const;
         Q_INVOKABLE QColor userColor(QString id, QColor background);
         Q_INVOKABLE QString escapeEmoji(QString str) const;