mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
Unicode support for status message.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3867 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6c9e429215
commit
e7813892bc
4 changed files with 11 additions and 12 deletions
|
|
@ -55,16 +55,15 @@ StatusMessage::~StatusMessage()
|
|||
/** Saves the changes on this page */
|
||||
void StatusMessage::save()
|
||||
{
|
||||
rsMsgs->setCustomStateString(ui.txt_StatusMessage->text().toStdString());
|
||||
rsMsgs->setCustomStateString(ui.txt_StatusMessage->text().toUtf8().constData());
|
||||
|
||||
close();
|
||||
}
|
||||
|
||||
|
||||
/** Loads the settings for this page */
|
||||
void StatusMessage::load()
|
||||
{
|
||||
ui.txt_StatusMessage->setText(QString::fromStdString(rsMsgs->getCustomStateString()));
|
||||
ui.txt_StatusMessage->setText(QString::fromUtf8(rsMsgs->getCustomStateString().c_str()));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue