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;
nameFilter << QLatin1String("*");
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;
for (constIterator = pathes.constBegin(); constIterator != pathes.constEnd();
for (constIterator = paths.constBegin(); constIterator != paths.constEnd();
++constIterator) {
const QString fullPath(dir.path() + QLatin1String("/") + (*constIterator));
fullList.append(fullPath);

View file

@ -220,7 +220,7 @@ public:
void setCredentialSetting(const QString &key, const QVariant &value);
/** 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 */
[[nodiscard]] const Capabilities &capabilities() const;