Fix typos found by codespell

These change actual variable names.

Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
This commit is contained in:
Dimitri Papadopoulos 2023-06-02 14:05:33 +02:00 committed by Matthieu Gallien
parent 9d830e94f9
commit fa96e0d31a
2 changed files with 3 additions and 3 deletions

View file

@ -55,10 +55,10 @@ bool FolderWatcherPrivate::findFoldersBelow(const QDir &dir, QStringList &fullLi
QStringList nameFilter; QStringList nameFilter;
nameFilter << QLatin1String("*"); nameFilter << QLatin1String("*");
QDir::Filters filter = QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks | QDir::Hidden; QDir::Filters filter = QDir::Dirs | QDir::NoDotAndDotDot | QDir::NoSymLinks | QDir::Hidden;
const QStringList pathes = dir.entryList(nameFilter, filter); const QStringList paths = dir.entryList(nameFilter, filter);
QStringList::const_iterator constIterator; QStringList::const_iterator constIterator;
for (constIterator = pathes.constBegin(); constIterator != pathes.constEnd(); for (constIterator = paths.constBegin(); constIterator != paths.constEnd();
++constIterator) { ++constIterator) {
const QString fullPath(dir.path() + QLatin1String("/") + (*constIterator)); const QString fullPath(dir.path() + QLatin1String("/") + (*constIterator));
fullList.append(fullPath); fullList.append(fullPath);

View file

@ -220,7 +220,7 @@ public:
void setCredentialSetting(const QString &key, const QVariant &value); void setCredentialSetting(const QString &key, const QVariant &value);
/** Assign a client certificate */ /** Assign a client certificate */
void setCertificate(const QByteArray certficate = QByteArray(), const QString privateKey = QString()); void setCertificate(const QByteArray certificate = QByteArray(), const QString privateKey = QString());
/** Access the server capabilities */ /** Access the server capabilities */
[[nodiscard]] const Capabilities &capabilities() const; [[nodiscard]] const Capabilities &capabilities() const;