mirror of
https://github.com/tnodir/fort
synced 2024-11-15 11:35:07 +00:00
UI: Cut release text from dashes.
This commit is contained in:
parent
3614a46f14
commit
01f3f5d0d8
@ -60,6 +60,12 @@ bool TaskUpdateChecker::parseBuffer(const QByteArray &buffer)
|
||||
|
||||
m_releaseNotes = map["body"].toString(); // ChangeLog
|
||||
|
||||
// Cut release text from dashes
|
||||
const int releaseDashesPos = m_releaseNotes.indexOf("---");
|
||||
if (releaseDashesPos > 0) {
|
||||
m_releaseNotes.truncate(releaseDashesPos);
|
||||
}
|
||||
|
||||
// Assets
|
||||
const QVariantMap assetMap = assets.first().toMap();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user