Skip to content

Commit

Permalink
Fix typos found by codespell
Browse files Browse the repository at this point in the history
These change actual variable names.

Signed-off-by: Dimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>
  • Loading branch information
DimitriPapadopoulos authored and mgallien committed Jul 4, 2023
1 parent 50c3700 commit 5947293
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/gui/folderwatcher_linux.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion src/libsync/account.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ class OWNCLOUDSYNC_EXPORT Account : public QObject
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;
Expand Down

0 comments on commit 5947293

Please sign in to comment.