Commit 003064ad authored by Alexander Volkov's avatar Alexander Volkov
Browse files

Fix typo Detatched -> Detached

parent c75a0da8
......@@ -140,7 +140,7 @@ QByteArray Signature::signature()
return d->signature;
}
void Signature::setAsciiDetatchedSignature(const QString &signature)
void Signature::setAsciiDetachedSignature(const QString &signature)
{
setSignature(signature.toLatin1(), AsciiDetached);
}
......
......@@ -75,7 +75,7 @@ class KGET_EXPORT Signature : public QObject
void downloadKey(QString fingerprint);
QByteArray signature();
void setAsciiDetatchedSignature(const QString &signature);
void setAsciiDetachedSignature(const QString &signature);
void setSignature(const QByteArray &signature, SignatureType type);
SignatureType type() const;
......
......@@ -181,7 +181,7 @@ bool Metalink::metalinkInit(const QUrl &src, const QByteArray &data)
QHash<QString, QString>::const_iterator itEnd = signatures.constEnd();
for (it = signatures.constBegin(); it != itEnd; ++it) {
if (it.key().toLower() == "pgp") {
dataFactory->signature()->setAsciiDetatchedSignature(*it);
dataFactory->signature()->setAsciiDetachedSignature(*it);
}
}
......
......@@ -180,7 +180,7 @@ bool MetalinkXml::metalinkInit(const QUrl &src, const QByteArray &data)
QHash<QString, QString>::const_iterator itEnd = signatures.constEnd();
for (it = signatures.constBegin(); it != itEnd; ++it) {
if (it.key().toLower() == "pgp") {
dataFactory->signature()->setAsciiDetatchedSignature(*it);
dataFactory->signature()->setAsciiDetachedSignature(*it);
}
}
......
......@@ -87,7 +87,7 @@ void SignatureDlg::fileFinished(const QUrl &file)
void SignatureDlg::textChanged()
{
if (m_signature) {
m_signature->setAsciiDetatchedSignature(ui.signature->toPlainText());
m_signature->setAsciiDetachedSignature(ui.signature->toPlainText());
clearData();
updateButtons();
......
Supports Markdown
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