mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-01 04:46:47 -05:00
use QPushButton for some dialogs fixes translation problems, QButtonBox default translations are only available for few languages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@2506 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
0ea171e237
commit
d0a772f5d9
44 changed files with 1837 additions and 1443 deletions
|
|
@ -42,8 +42,8 @@ StatusMessage::StatusMessage(QWidget *parent, Qt::WFlags flags)
|
|||
/* Create RshareSettings object */
|
||||
_settings = new RshareSettings();
|
||||
|
||||
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(reject()));
|
||||
connect(ui.buttonBox, SIGNAL(accepted()), this, SLOT(save()));
|
||||
connect(ui.cancelButton, SIGNAL(clicked()), this, SLOT(close()));
|
||||
connect(ui.okButton, SIGNAL(clicked()), this, SLOT(save()));
|
||||
|
||||
load();
|
||||
|
||||
|
|
@ -79,13 +79,8 @@ void StatusMessage::save()
|
|||
|
||||
/** Loads the settings for this page */
|
||||
void StatusMessage::load()
|
||||
{
|
||||
//_settings->beginGroup("Profile");
|
||||
//ui.txt_StatusMessage->setText(_settings->value("StatusMessage","").toString());
|
||||
//_settings->endGroup();
|
||||
|
||||
ui.txt_StatusMessage->setText(QString::fromStdString(rsMsgs->getCustomStateString())) ;
|
||||
|
||||
{
|
||||
ui.txt_StatusMessage->setText(QString::fromStdString(rsMsgs->getCustomStateString()));
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue