Survey: rename "Save" button to "Send"

Fixes #701

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2014-08-15 21:41:41 -06:00
parent e8d430341c
commit 64c9fff850

View file

@ -15,6 +15,7 @@ UserSurvey::UserSurvey(QWidget *parent) : QDialog(parent),
ui(new Ui::UserSurvey) ui(new Ui::UserSurvey)
{ {
ui->setupUi(this); ui->setupUi(this);
ui->buttonBox->buttons().first()->setText(tr("Send"));
this->adjustSize(); this->adjustSize();
QShortcut *closeKey = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this); QShortcut *closeKey = new QShortcut(QKeySequence(Qt::CTRL + Qt::Key_W), this);
connect(closeKey, SIGNAL(activated()), this, SLOT(close())); connect(closeKey, SIGNAL(activated()), this, SLOT(close()));