mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-18 10:57:18 -05:00
Load own status from chat.cfg
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@1699 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
ab5c321fc3
commit
036cb7cb57
@ -1315,9 +1315,9 @@ void PeersDialog::on_actionCreate_new_Profile_activated()
|
||||
/** Loads own personal status */
|
||||
void PeersDialog::loadmypersonalstatus()
|
||||
{
|
||||
_settings->beginGroup("Profile");
|
||||
|
||||
ui.mypersonalstatuslabel->setText(_settings->value("StatusMessage","").toString());
|
||||
|
||||
_settings->endGroup();
|
||||
//_settings->beginGroup("Profile");
|
||||
//ui.mypersonalstatuslabel->setText(_settings->value("StatusMessage","").toString());
|
||||
//_settings->endGroup();
|
||||
|
||||
ui.mypersonalstatuslabel->setText(QString::fromStdString(rsMsgs->getCustomStateString()));
|
||||
}
|
||||
|
@ -73,11 +73,12 @@ void StatusMessage::save()
|
||||
/** Loads the settings for this page */
|
||||
void StatusMessage::load()
|
||||
{
|
||||
_settings->beginGroup("Profile");
|
||||
//_settings->beginGroup("Profile");
|
||||
//ui.txt_StatusMessage->setText(_settings->value("StatusMessage","").toString());
|
||||
//_settings->endGroup();
|
||||
|
||||
ui.txt_StatusMessage->setText(_settings->value("StatusMessage","").toString());
|
||||
ui.txt_StatusMessage->setText(QString::fromStdString(rsMsgs->getCustomStateString())) ;
|
||||
|
||||
_settings->endGroup();
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user