Properly assign default value to QSharedPointer for Qt5.7
[ci skip]
This commit is contained in:
parent
daabb40bed
commit
396becbaa7
@ -87,9 +87,10 @@ public:
|
|||||||
void addUserMessage(mtx::events::MessageType ty, const QString &msg);
|
void addUserMessage(mtx::events::MessageType ty, const QString &msg);
|
||||||
|
|
||||||
template<class Widget, mtx::events::MessageType MsgType>
|
template<class Widget, mtx::events::MessageType MsgType>
|
||||||
void addUserMessage(const QString &url,
|
void addUserMessage(
|
||||||
const QString &filename,
|
const QString &url,
|
||||||
const QSharedPointer<QIODevice> data = Q_NULLPTR);
|
const QString &filename,
|
||||||
|
const QSharedPointer<QIODevice> data = QSharedPointer<QIODevice>(nullptr));
|
||||||
void updatePendingMessage(int txn_id, QString event_id);
|
void updatePendingMessage(int txn_id, QString event_id);
|
||||||
void scrollDown();
|
void scrollDown();
|
||||||
void addDateSeparator(QDateTime datetime, int position);
|
void addDateSeparator(QDateTime datetime, int position);
|
||||||
|
Loading…
Reference in New Issue
Block a user