message: Move terminal command setting to tools panel
diff: @@ -123,7 +123,6 @@ public:
  AboutDialog::openSharedInstance(AboutDialog::Privacy);
  });
  - mTerminalCommand = new QLineEdit(this);
  QFormLayout *form = new QFormLayout;
  form->addRow(tr("User name:"), mName);
  @@ -135,7 +134,6 @@ public:
  form->addRow(tr("Usage reporting:"), mUsageReporting);
  form->addRow(QString(), privacy);
  form->addRow(QString(), new QLabel(tr("%1 will be replaced with the repository's directory")));
  - form->addRow(tr("Terminal emulator command:"), mTerminalCommand);
  QVBoxLayout *layout = new QVBoxLayout(this);
  layout->setContentsMargins(16,12,16,12);
  @@ -181,10 +179,6 @@ public:
  connect(mUsageReporting, &QCheckBox::toggled, [](bool checked) {
  Settings::instance()->setValue("tracking/enabled", checked);
  });
  -
  - connect(mTerminalCommand, &QLineEdit::textChanged, [](const QString &text) {
  - Settings::instance()->setValue("terminal/command", text);
  - });
  }
  void init()
  @@ -206,8 +200,6 @@ public:
  mStoreCredentials->setChecked(settings->value("credential/store").toBool());
  mUsageReporting->setChecked(settings->value("tracking/enabled").toBool());
  -
  - mTerminalCommand->setText(settings->value("terminal/command").toString());
  }
  private:
  @@ -220,8 +212,6 @@ private:
  QCheckBox *mPullUpdate;
  QCheckBox *mStoreCredentials;
  QCheckBox *mUsageReporting;
  -
  - QLineEdit *mTerminalCommand;
  };
  class ToolsPanel : public QWidget
  @@ -258,6 +248,14 @@ public:
  layout->addRow(tr("External diff:"), diffTool);
  layout->addRow(tr("External merge:"), mergeTool);
  layout->addRow(tr("Backup files:"), backup);
  +
  + QLineEdit *mTerminalCommand = new QLineEdit(this);
  + layout->addRow(tr("Terminal emulator command:"), mTerminalCommand);
  + mTerminalCommand->setText(Settings::instance()->value("terminal/command").toString());
  +
  + connect(mTerminalCommand, &QLineEdit::textChanged, [](const QString &text) {
  + Settings::instance()->setValue("terminal/command", text);
  + });
  }
  private:
  