fixed to set the text align left for the statusbutton in MessengerWindow

replaced QLineEdit with a editable QComboBox for the status message

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@3618 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
defnax 2010-10-05 23:18:27 +00:00
parent 3309d2a247
commit 791d6144dc
2 changed files with 26 additions and 38 deletions

View file

@ -1129,13 +1129,13 @@ void MessengerWindow::getAvatar()
/** Loads own personal status message */
void MessengerWindow::loadmystatusmessage()
{
ui.messagelineEdit->setText(QString::fromStdString(rsMsgs->getCustomStateString()));
ui.messagelineEdit->setEditText( QString::fromStdString(rsMsgs->getCustomStateString()));
}
/** Save own status message */
void MessengerWindow::savestatusmessage()
{
rsMsgs->setCustomStateString(ui.messagelineEdit->text().toStdString());
rsMsgs->setCustomStateString(ui.messagelineEdit->currentText().toStdString());
}
void MessengerWindow::updateOwnStatus(const QString &peer_id, int status)