mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-23 13:54:27 -04:00
Changed the generation of the gpg key and location to utf8.
The existing gpg keys and locations with umlauts are now shown wrong. The changes are not backward compatible. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4460 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
7d4b8288ca
commit
8d4a4db027
32 changed files with 103 additions and 118 deletions
|
@ -1081,7 +1081,7 @@ void MessagesDialog::insertMessages()
|
|||
// From ....
|
||||
{
|
||||
if (msgbox == RS_MSG_INBOX || msgbox == RS_MSG_OUTBOX) {
|
||||
text = QString::fromStdString(rsPeers->getPeerName(it->srcId));
|
||||
text = QString::fromUtf8(rsPeers->getPeerName(it->srcId).c_str());
|
||||
} else {
|
||||
if (bGotInfo || rsMsgs->getMessage(it->msgId, msgInfo)) {
|
||||
bGotInfo = true;
|
||||
|
@ -1099,7 +1099,7 @@ void MessagesDialog::insertMessages()
|
|||
if (peerName.empty()) {
|
||||
text += PeerDefs::rsid("", *pit);
|
||||
} else {
|
||||
text += QString::fromStdString(peerName);
|
||||
text += QString::fromUtf8(peerName.c_str());
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue