replaced QString output of uniqueIdentifier() in feedItem classes by a std::string because QString caused random crashes

This commit is contained in:
csoler 2019-12-15 16:46:22 +01:00
parent da6e7f9e9b
commit 11c520d280
No known key found for this signature in database
GPG key ID: 7BCA522266C0804C
21 changed files with 27 additions and 25 deletions

View file

@ -37,7 +37,7 @@ public:
void updateItemStatic();
virtual QString uniqueIdentifier() const override { return "ChatMsgItem " + QString::fromStdString(mPeerId.toStdString()) ;}
virtual std::string uniqueIdentifier() const override { return "ChatMsgItem " + mPeerId.toStdString(); }
protected:
/* FeedItem */
virtual void doExpand(bool /*open*/) {}