mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-12 11:02:30 -04:00
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:
parent
3309d2a247
commit
791d6144dc
2 changed files with 26 additions and 38 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue