summary refs log tree commit diff
path: root/src/timeline/TimelineModel.h
diff options
context:
space:
mode:
authorMTRNord <mtrnord1@gmail.com>2021-12-27 20:49:27 +0100
committerMTRNord <mtrnord1@gmail.com>2021-12-27 20:49:27 +0100
commit7b2f7e65fd1bd0ceda02f3e0bb06b435ae37dfd6 (patch)
tree67d78c51375d65513c5a5c7a02f0d205bc827d27 /src/timeline/TimelineModel.h
parentApply (selective) Clang-tidy const function and new const pointer suggestions... (diff)
downloadnheko-7b2f7e65fd1bd0ceda02f3e0bb06b435ae37dfd6.tar.xz
Run linter
Diffstat (limited to '')
-rw-r--r--src/timeline/TimelineModel.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/timeline/TimelineModel.h b/src/timeline/TimelineModel.h
index 9ee78831..bbc1e5ef 100644
--- a/src/timeline/TimelineModel.h
+++ b/src/timeline/TimelineModel.h
@@ -189,7 +189,7 @@ class TimelineModel : public QAbstractListModel
 
 public:
     explicit TimelineModel(TimelineViewManager *manager,
-                           const QString& room_id,
+                           const QString &room_id,
                            QObject *parent = nullptr);
 
     enum Roles
@@ -272,7 +272,8 @@ public:
     Q_INVOKABLE bool saveMedia(const QString &eventId) const;
     Q_INVOKABLE void showEvent(QString eventId);
     Q_INVOKABLE void copyLinkToEvent(const QString &eventId) const;
-    void cacheMedia(const QString &eventId, const std::function<void(const QString filename)> &callback);
+    void
+    cacheMedia(const QString &eventId, const std::function<void(const QString filename)> &callback);
     Q_INVOKABLE void sendReset()
     {
         beginResetModel();