[GUI] Fix build on Linux
This commit is contained in:
parent
762c8712a8
commit
a04995a9f2
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ QString TransferOperation::memo() const {
|
||||||
if (memoIsEncrypted())
|
if (memoIsEncrypted())
|
||||||
return tr("Encrypted Memo");
|
return tr("Encrypted Memo");
|
||||||
QString memo = QString::fromStdString(m_op.memo->get_message({}, {}));
|
QString memo = QString::fromStdString(m_op.memo->get_message({}, {}));
|
||||||
while (memo.endsWith('\0'))
|
while (memo.endsWith(QChar('\0')))
|
||||||
memo.chop(1);
|
memo.chop(1);
|
||||||
return memo;
|
return memo;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue