diff --git a/include/timeline/TimelineView.h b/include/timeline/TimelineView.h index 1ed84aaf..c120ed69 100644 --- a/include/timeline/TimelineView.h +++ b/include/timeline/TimelineView.h @@ -87,9 +87,10 @@ public: void addUserMessage(mtx::events::MessageType ty, const QString &msg); template - void addUserMessage(const QString &url, - const QString &filename, - const QSharedPointer data = Q_NULLPTR); + void addUserMessage( + const QString &url, + const QString &filename, + const QSharedPointer data = QSharedPointer(nullptr)); void updatePendingMessage(int txn_id, QString event_id); void scrollDown(); void addDateSeparator(QDateTime datetime, int position);