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

@ -67,9 +67,9 @@ PeerItem::PeerItem(FeedHolder *parent, uint32_t feedId, const RsPeerId &peerId,
updateItem();
}
QString PeerItem::uniqueIdentifier() const
std::string PeerItem::uniqueIdentifier() const
{
return "PeerItem " + QString::fromStdString(mPeerId.toStdString()) + " " + QString::number(mType) ;
return "PeerItem " + mPeerId.toStdString() + " " + QString::number(mType).toStdString() ;
}
void PeerItem::updateItemStatic()