From 27bf913a275a602c303a5a6521c46af5fdcee360 Mon Sep 17 00:00:00 2001 From: Bill Winslow Date: Sun, 6 Jul 2014 05:51:01 -0400 Subject: [PATCH] Add a missing connect and missing tr() --- widget/form/settingsform.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/widget/form/settingsform.cpp b/widget/form/settingsform.cpp index d3e93a995..9a03587b0 100644 --- a/widget/form/settingsform.cpp +++ b/widget/form/settingsform.cpp @@ -17,7 +17,7 @@ SettingsForm::SettingsForm() nameLabel.setText(tr("Name","Username/nick")); statusTextLabel.setText(tr("Status","Status message")); - idLabel.setText("Tox ID (click here to copy)"); + idLabel.setText("Tox ID " + tr("(click here to copy)", "Click on this text to copy TID to clipboard")); id.setFont(small); id.setTextInteractionFlags(Qt::TextSelectableByMouse); id.setReadOnly(true); @@ -48,6 +48,7 @@ SettingsForm::SettingsForm() connect(&videoTest, SIGNAL(clicked()), this, SLOT(onTestVideoClicked())); connect(&enableIPv6, SIGNAL(stateChanged(int)), this, SLOT(onEnableIPv6Updated())); + connect(&useTranslations, SIGNAL(stateChanged(int)), this, SLOT(onUseTranslationUpdated())); connect(&idLabel, SIGNAL(clicked()), this, SLOT(copyIdClicked())); }