[GUI] Fix build on Linux

This commit is contained in:
Nathan Hourt 2015-08-05 22:54:03 -04:00
parent 762c8712a8
commit a04995a9f2

View file

@ -31,7 +31,7 @@ QString TransferOperation::memo() const {
if (memoIsEncrypted())
return tr("Encrypted Memo");
QString memo = QString::fromStdString(m_op.memo->get_message({}, {}));
while (memo.endsWith('\0'))
while (memo.endsWith(QChar('\0')))
memo.chop(1);
return memo;
}