Commit 9ccad7eb authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix minor typos

parent b9fd8e27
......@@ -36,7 +36,7 @@ public:
/** Check input value with a regular expression describing simple input mask.
*/
QValidator::State checkWithInputMask(QString &, int &) const;
/** Function split intput string into tetrads and check them for valid values.
/** Function split input string into tetrads and check them for valid values.
* In the tetrads are placed into QList. Input string may be changed.
*/
QValidator::State checkTetradsRanges(QString &, QList<int>&) const;
......
......@@ -36,7 +36,7 @@ public:
/** Check input value with a regular expression describing simple input mask.
*/
QValidator::State checkWithInputMask(QString &, int &) const;
/** Function split intput string into tetrads and check them for valid values.
/** Function split input string into tetrads and check them for valid values.
* In the tetrads are placed into QList. Input string may be changed.
*/
QValidator::State checkTetradsRanges(QString &) const;
......
......@@ -187,7 +187,7 @@ NMStringMap L2tpIpsecWidget::setting() const
if (m_ui->cmbAuthType->currentIndex() == AuthType::PSK) {
// NetworkManager-l2tp < 1.2.12 does not support Base64 PSK
// For backwards compatibilty don't use Base64 PSK for now.
// For backwards compatibility don't use Base64 PSK for now.
if (!m_ui->presharedKey->text().isEmpty()) {
result.insert(NM_L2TP_KEY_IPSEC_PSK, m_ui->presharedKey->text());
// *SWAN support Base64 encoded PSKs that are prefixed with "0s"
......@@ -227,7 +227,7 @@ NMStringMap L2tpIpsecWidget::setting() const
// NetworkManager-l2tp 1.2.12 recommends NM_L2TP_KEY_IPSEC_REMOTE_ID
// instead of deprecated NM_L2TP_KEY_IPSEC_GATEWAY_ID
// For backwards compatibilty use NM_L2TP_KEY_IPSEC_GATEWAY_ID for now.
// For backwards compatibility use NM_L2TP_KEY_IPSEC_GATEWAY_ID for now.
if (!m_ui->remoteId->text().isEmpty()) {
result.insert(NM_L2TP_KEY_IPSEC_GATEWAY_ID, m_ui->remoteId->text());
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment