diff --git a/admin/osx/gen_sym_files.py b/admin/osx/gen_sym_files.py index 1d9fa24890532..beaece4dc5f22 100755 --- a/admin/osx/gen_sym_files.py +++ b/admin/osx/gen_sym_files.py @@ -31,7 +31,7 @@ def extractDeps(macho): if m: path = resolvePath(m.group(0)) if not os.path.exists(path): - logging.warning("Non-existant file found in dependencies, ignoring: [%s]", path) + logging.warning("Non-existent file found in dependencies, ignoring: [%s]", path) continue deps.append(path) return deps diff --git a/src/common/vfs.cpp b/src/common/vfs.cpp index e9cf977d9113d..b549d0989aa4d 100644 --- a/src/common/vfs.cpp +++ b/src/common/vfs.cpp @@ -214,7 +214,7 @@ std::unique_ptr OCC::createVfsFromPlugin(Vfs::Mode mode) return nullptr; if (!isVfsPluginAvailable(mode)) { - qCCritical(lcPlugin) << "Could not load plugin: not existant" << name; + qCCritical(lcPlugin) << "Could not load plugin: not existent" << name; return nullptr; } diff --git a/src/gui/folderman.cpp b/src/gui/folderman.cpp index 8969696795294..38a693679f3d7 100644 --- a/src/gui/folderman.cpp +++ b/src/gui/folderman.cpp @@ -1552,7 +1552,7 @@ static QString canonicalPath(const QString &path) const auto parentPath = selFile.dir().path(); // It's possible for the parentPath to match the path - // (possibly we've arrived at a non-existant drive root on Windows) + // (possibly we've arrived at a non-existent drive root on Windows) // and recursing would be fatal. if (parentPath == path) { return path; diff --git a/test/testsynccfapi.cpp b/test/testsynccfapi.cpp index 1632e56cba3d9..106e40589740c 100644 --- a/test/testsynccfapi.cpp +++ b/test/testsynccfapi.cpp @@ -983,7 +983,7 @@ private slots: QCOMPARE(*vfs->availability("online"), VfsItemAvailability::OnlineOnly); QCOMPARE(*vfs->availability("local"), VfsItemAvailability::AlwaysLocal); - auto r = vfs->availability("nonexistant"); + auto r = vfs->availability("nonexistent"); QVERIFY(!r); QCOMPARE(r.error(), Vfs::AvailabilityError::NoSuchItem); } diff --git a/test/testsyncjournaldb.cpp b/test/testsyncjournaldb.cpp index fd404559bced2..e24d1da74458b 100644 --- a/test/testsyncjournaldb.cpp +++ b/test/testsyncjournaldb.cpp @@ -46,7 +46,7 @@ private slots: void testFileRecord() { SyncJournalFileRecord record; - QVERIFY(_db.getFileRecord(QByteArrayLiteral("nonexistant"), &record)); + QVERIFY(_db.getFileRecord(QByteArrayLiteral("nonexistent"), &record)); QVERIFY(!record.isValid()); record._path = "foo"; @@ -131,7 +131,7 @@ private slots: void testDownloadInfo() { using Info = SyncJournalDb::DownloadInfo; - Info record = _db.getDownloadInfo("nonexistant"); + Info record = _db.getDownloadInfo("nonexistent"); QVERIFY(!record._valid); record._errorCount = 5; @@ -151,7 +151,7 @@ private slots: void testUploadInfo() { using Info = SyncJournalDb::UploadInfo; - Info record = _db.getUploadInfo("nonexistant"); + Info record = _db.getUploadInfo("nonexistent"); QVERIFY(!record._valid); record._errorCount = 5; @@ -382,31 +382,31 @@ private slots: QCOMPARE(get("local"), PinState::AlwaysLocal); QCOMPARE(get("online"), PinState::OnlineOnly); QCOMPARE(get("inherit"), PinState::AlwaysLocal); - QCOMPARE(get("nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("nonexistent"), PinState::AlwaysLocal); QCOMPARE(get("online/local"), PinState::AlwaysLocal); QCOMPARE(get("local/online"), PinState::OnlineOnly); QCOMPARE(get("inherit/local"), PinState::AlwaysLocal); QCOMPARE(get("inherit/online"), PinState::OnlineOnly); QCOMPARE(get("inherit/inherit"), PinState::AlwaysLocal); - QCOMPARE(get("inherit/nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("inherit/nonexistent"), PinState::AlwaysLocal); // Inheriting checks, level 1 QCOMPARE(get("local/inherit"), PinState::AlwaysLocal); - QCOMPARE(get("local/nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("local/nonexistent"), PinState::AlwaysLocal); QCOMPARE(get("online/inherit"), PinState::OnlineOnly); - QCOMPARE(get("online/nonexistant"), PinState::OnlineOnly); + QCOMPARE(get("online/nonexistent"), PinState::OnlineOnly); // Inheriting checks, level 2 QCOMPARE(get("local/inherit/inherit"), PinState::AlwaysLocal); QCOMPARE(get("local/local/inherit"), PinState::AlwaysLocal); - QCOMPARE(get("local/local/nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("local/local/nonexistent"), PinState::AlwaysLocal); QCOMPARE(get("local/online/inherit"), PinState::OnlineOnly); - QCOMPARE(get("local/online/nonexistant"), PinState::OnlineOnly); + QCOMPARE(get("local/online/nonexistent"), PinState::OnlineOnly); QCOMPARE(get("online/inherit/inherit"), PinState::OnlineOnly); QCOMPARE(get("online/local/inherit"), PinState::AlwaysLocal); - QCOMPARE(get("online/local/nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("online/local/nonexistent"), PinState::AlwaysLocal); QCOMPARE(get("online/online/inherit"), PinState::OnlineOnly); - QCOMPARE(get("online/online/nonexistant"), PinState::OnlineOnly); + QCOMPARE(get("online/online/nonexistent"), PinState::OnlineOnly); // Spot check the recursive variant QCOMPARE(getRecursive(""), PinState::Inherited); @@ -427,12 +427,12 @@ private slots: QCOMPARE(get("local"), PinState::AlwaysLocal); QCOMPARE(get("online"), PinState::OnlineOnly); QCOMPARE(get("inherit"), PinState::OnlineOnly); - QCOMPARE(get("nonexistant"), PinState::OnlineOnly); + QCOMPARE(get("nonexistent"), PinState::OnlineOnly); make("", PinState::AlwaysLocal); QCOMPARE(get("local"), PinState::AlwaysLocal); QCOMPARE(get("online"), PinState::OnlineOnly); QCOMPARE(get("inherit"), PinState::AlwaysLocal); - QCOMPARE(get("nonexistant"), PinState::AlwaysLocal); + QCOMPARE(get("nonexistent"), PinState::AlwaysLocal); // Wiping QCOMPARE(getRaw("local/local"), PinState::AlwaysLocal); diff --git a/test/testsyncvirtualfiles.cpp b/test/testsyncvirtualfiles.cpp index f468885185335..9389b923be4ba 100644 --- a/test/testsyncvirtualfiles.cpp +++ b/test/testsyncvirtualfiles.cpp @@ -1218,7 +1218,7 @@ private slots: QCOMPARE(*vfs->availability("online"), VfsItemAvailability::OnlineOnly); QCOMPARE(*vfs->availability("local"), VfsItemAvailability::AlwaysLocal); - auto r = vfs->availability("nonexistant"); + auto r = vfs->availability("nonexistent"); QVERIFY(!r); QCOMPARE(r.error(), Vfs::AvailabilityError::NoSuchItem); } diff --git a/test/testsyncxattr.cpp b/test/testsyncxattr.cpp index bfcba680d5f65..ffb02007b0f9a 100644 --- a/test/testsyncxattr.cpp +++ b/test/testsyncxattr.cpp @@ -963,7 +963,7 @@ private slots: QCOMPARE(*vfs->availability("online"), VfsItemAvailability::OnlineOnly); QCOMPARE(*vfs->availability("local"), VfsItemAvailability::AlwaysLocal); - auto r = vfs->availability("nonexistant"); + auto r = vfs->availability("nonexistent"); QVERIFY(!r); QCOMPARE(r.error(), Vfs::AvailabilityError::NoSuchItem); }