From fa96e0d31a647f4a61f7844ff70835de9527747d Mon Sep 17 00:00:00 2001 From: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> Date: Fri, 2 Jun 2023 14:05:33 +0200 Subject: [PATCH] Fix typos found by codespell These change actual variable names. Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com> --- src/gui/folderwatcher_linux.cpp | 4 ++-- src/libsync/account.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/folderwatcher_linux.cpp b/src/gui/folderwatcher_linux.cpp index d8316c81d..6877edb9c 100644 --- a/src/gui/folderwatcher_linux.cpp +++ b/src/gui/folderwatcher_linux.cpp @@ -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); diff --git a/src/libsync/account.h b/src/libsync/account.h index b0c6cc94d..14dbc166d 100644 --- a/src/libsync/account.h +++ b/src/libsync/account.h @@ -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;