mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 19:12:28 -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
|
@ -116,10 +116,10 @@ int TrustView::getRowColId(const string& peerid)
|
|||
|
||||
peeridToRow[peerid] = i ;
|
||||
|
||||
std::string name = rsPeers->getPeerName(peerid) ;
|
||||
QString name = QString::fromUtf8(rsPeers->getPeerName(peerid).c_str()) ;
|
||||
|
||||
trustTableTW->setHorizontalHeaderItem(i,new QTableWidgetItem(QString(name.c_str()))) ;
|
||||
trustTableTW->setVerticalHeaderItem(i,new QTableWidgetItem(QString(name.c_str()))) ;
|
||||
trustTableTW->setHorizontalHeaderItem(i,new QTableWidgetItem(name)) ;
|
||||
trustTableTW->setVerticalHeaderItem(i,new QTableWidgetItem(name)) ;
|
||||
|
||||
trustTableTW->setColumnWidth(i,_base_cell_width) ;
|
||||
trustTableTW->setRowHeight(i,_base_cell_height) ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue