mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-02-05 09:35:39 -05:00
Fix for ticket #129
Utf8 chars don't show up for peer names, in private chat and file list. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4576 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
4f1d1b8dc7
commit
185307ad37
@ -196,7 +196,7 @@ void GenCertDialog::genPerson()
|
|||||||
QCoreApplication::processEvents();
|
QCoreApplication::processEvents();
|
||||||
while(QAbstractEventDispatcher::instance()->processEvents(QEventLoop::AllEvents)) ;
|
while(QAbstractEventDispatcher::instance()->processEvents(QEventLoop::AllEvents)) ;
|
||||||
|
|
||||||
RsInit::GeneratePGPCertificate(ui.name_input->text().toUtf8().constData(), ui.email_input->text().toUtf8().constData(), ui.password_input->text().toStdString(), PGPId, err_string);
|
RsInit::GeneratePGPCertificate(ui.name_input->text().toUtf8().constData(), ui.email_input->text().toUtf8().constData(), ui.password_input->text().toUtf8().constData(), PGPId, err_string);
|
||||||
|
|
||||||
setCursor(Qt::ArrowCursor) ;
|
setCursor(Qt::ArrowCursor) ;
|
||||||
}
|
}
|
||||||
|
@ -154,7 +154,7 @@ ConnectFriendWizard::accept()
|
|||||||
}
|
}
|
||||||
if (!this->field(LOCATION_FIELD_CONNECT_FRIEND_WIZARD).isNull()) {
|
if (!this->field(LOCATION_FIELD_CONNECT_FRIEND_WIZARD).isNull()) {
|
||||||
std::cerr << "ConnectFriendWizard::accept() : setting peerLocation." << std::endl;
|
std::cerr << "ConnectFriendWizard::accept() : setting peerLocation." << std::endl;
|
||||||
rsPeers->setLocation(ssl_Id, this->field(LOCATION_FIELD_CONNECT_FRIEND_WIZARD).toString().toStdString());
|
rsPeers->setLocation(ssl_Id, this->field(LOCATION_FIELD_CONNECT_FRIEND_WIZARD).toString().toUtf8().constData());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -140,7 +140,7 @@ bool NotifyQt::askForPassword(const std::string& key_details, bool prev_is_bad,
|
|||||||
RsAutoUpdatePage::unlockAllEvents() ;
|
RsAutoUpdatePage::unlockAllEvents() ;
|
||||||
|
|
||||||
if (ret == QDialog::Accepted) {
|
if (ret == QDialog::Accepted) {
|
||||||
password = dialog.textValue().toStdString();
|
password = dialog.textValue().toUtf8().constData();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user