forked from qt-creator/qt-creator
Git: De-noise
* Remove QLatin1{String|Char} where possible
* Use initializer lists for QStringList
Change-Id: I8479f87f4fc909b5d74d854956885564209538e4
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
539e33da02
commit
516161c875
@@ -93,8 +93,8 @@ GerritOptionsWidget::GerritOptionsWidget(QWidget *parent)
|
||||
formLayout->addRow(tr("&Host:"), m_hostLineEdit);
|
||||
formLayout->addRow(tr("&User:"), m_userLineEdit);
|
||||
m_sshChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
|
||||
m_sshChooser->setCommandVersionArguments(QStringList(QLatin1String("-V")));
|
||||
m_sshChooser->setHistoryCompleter(QLatin1String("Git.SshCommand.History"));
|
||||
m_sshChooser->setCommandVersionArguments(QStringList("-V"));
|
||||
m_sshChooser->setHistoryCompleter("Git.SshCommand.History");
|
||||
formLayout->addRow(tr("&ssh:"), m_sshChooser);
|
||||
m_portSpinBox->setMinimum(1);
|
||||
m_portSpinBox->setMaximum(65535);
|
||||
|
||||
Reference in New Issue
Block a user