mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-05 23:55:35 -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
|
@ -141,7 +141,7 @@ void GamesDialog::updateGameList()
|
|||
QTreeWidgetItem *item = new QTreeWidgetItem((QTreeWidget*)0);
|
||||
std::string serverName = rsPeers->getPeerName(it->serverId);
|
||||
item -> setText(GAME_LIST_TYPE, QString::fromStdString(it->gameType));
|
||||
item -> setText(GAME_LIST_SERVER, QString::fromStdString(serverName));
|
||||
item -> setText(GAME_LIST_SERVER, QString::fromUtf8(serverName.c_str()));
|
||||
item -> setText(GAME_LIST_NAME, QString::fromStdWString(it->gameName));
|
||||
item -> setText(GAME_LIST_STATUS, QString::fromStdString(it->status));
|
||||
item -> setText(GAME_LIST_ID, QString::fromStdString(it->gameId));
|
||||
|
@ -245,7 +245,7 @@ void GamesDialog::updateGameDetails()
|
|||
name = "Yourself";
|
||||
}
|
||||
|
||||
item -> setText(GAME_PEER_PLAYER, QString::fromStdString(name));
|
||||
item -> setText(GAME_PEER_PLAYER, QString::fromUtf8(name.c_str()));
|
||||
|
||||
if (it->second.invite)
|
||||
item -> setText(GAME_PEER_INVITE, "Yes");
|
||||
|
@ -294,7 +294,7 @@ void GamesDialog::updateGameDetails()
|
|||
|
||||
/* make a widget per friend */
|
||||
QTreeWidgetItem *item = new QTreeWidgetItem((QTreeWidget*)0);
|
||||
item -> setText(GAME_PEER_PLAYER, QString::fromStdString(name));
|
||||
item -> setText(GAME_PEER_PLAYER, QString::fromUtf8(name.c_str()));
|
||||
item -> setText(GAME_PEER_INVITE, "No");
|
||||
item -> setText(GAME_PEER_INTEREST, "?");
|
||||
item -> setText(GAME_PEER_PLAY, "?");
|
||||
|
|
|
@ -286,7 +286,7 @@ void PhotoDialog::addShows(std::string id)
|
|||
std::list<std::string>::iterator it;
|
||||
|
||||
QTreeWidgetItem *peerItem = new QTreeWidgetItem((QTreeWidget*)0);
|
||||
peerItem->setText(PHOTO_PEER_COL_NAME, QString::fromStdString(rsPeers->getPeerName(id)));
|
||||
peerItem->setText(PHOTO_PEER_COL_NAME, QString::fromUtf8(rsPeers->getPeerName(id).c_str()));
|
||||
peerItem->setText(PHOTO_PEER_COL_PID, QString::fromStdString(id));
|
||||
peerItem->setText(PHOTO_PEER_COL_SID, "");
|
||||
peerItem->setText(PHOTO_PEER_COL_PHOTOID, "");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue