From 6cdae6c19edca2a0847f55f44f5290ee4a937d5b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Sun, 3 May 2020 22:54:50 +0200 Subject: [PATCH] Fix typos. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Debian has a list of known typos in their checking tools. Signed-off-by: Sandro Knauß --- cmake/modules/DefineCMakeDefaults.cmake | 2 +- src/3rdparty/sqlite3/sqlite3.c | 4 ++-- src/gui/clientproxy.cpp | 2 +- src/libsync/clientsideencryption.cpp | 6 +++--- src/libsync/propagateuploadencrypted.cpp | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/cmake/modules/DefineCMakeDefaults.cmake b/cmake/modules/DefineCMakeDefaults.cmake index 483722fdc..bed21525d 100644 --- a/cmake/modules/DefineCMakeDefaults.cmake +++ b/cmake/modules/DefineCMakeDefaults.cmake @@ -10,7 +10,7 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON) # Put the include dirs which are in the source or build tree # before all other include dirs, so the headers in the sources -# are prefered over the already installed ones +# are preferred over the already installed ones # since cmake 2.4.1 set(CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE ON) diff --git a/src/3rdparty/sqlite3/sqlite3.c b/src/3rdparty/sqlite3/sqlite3.c index ce4f343fd..9d7fd7837 100644 --- a/src/3rdparty/sqlite3/sqlite3.c +++ b/src/3rdparty/sqlite3/sqlite3.c @@ -70201,7 +70201,7 @@ static int btreeOverwriteContent( ){ int nData = pX->nData - iOffset; if( nData<=0 ){ - /* Overwritting with zeros */ + /* Overwriting with zeros */ int i; for(i=0; inTask-1) sub-tasks are all still busy, ** fall back to using the final sub-task. The first (pSorter->nTask-1) - ** sub-tasks are prefered as they use background threads - the final + ** sub-tasks are preferred as they use background threads - the final ** sub-task uses the main thread. */ for(i=0; iiPrev + i + 1) % nWorker; diff --git a/src/gui/clientproxy.cpp b/src/gui/clientproxy.cpp index 52b455447..657a93538 100644 --- a/src/gui/clientproxy.cpp +++ b/src/gui/clientproxy.cpp @@ -80,7 +80,7 @@ void ClientProxy::setupQtProxyFromConfig() QNetworkProxy::setApplicationProxy(QNetworkProxy::NoProxy); break; case QNetworkProxy::DefaultProxy: - qCInfo(lcClientProxy) << "Set proxy configuration to use the prefered system proxy for http tcp connections"; + qCInfo(lcClientProxy) << "Set proxy configuration to use the preferred system proxy for http tcp connections"; { QNetworkProxyQuery query; query.setProtocolTag("http"); diff --git a/src/libsync/clientsideencryption.cpp b/src/libsync/clientsideencryption.cpp index 59816dd12..be2de5c2c 100644 --- a/src/libsync/clientsideencryption.cpp +++ b/src/libsync/clientsideencryption.cpp @@ -589,7 +589,7 @@ QByteArray encryptStringAsymmetric(EVP_PKEY *publicKey, const QByteArray& data) qCInfo(lcCse()) << "Error retrieving the size of the encrypted data"; exit(1); } else { - qCInfo(lcCse()) << "Encrption Length:" << outLen; + qCInfo(lcCse()) << "Encryption Length:" << outLen; } unsigned char *out = (uchar*) OPENSSL_malloc(outLen); @@ -623,7 +623,7 @@ void ClientSideEncryption::initialize() { qCInfo(lcCse()) << "Initializing"; if (!_account->capabilities().clientSideEncryptionAvaliable()) { - qCInfo(lcCse()) << "No Client side encryption avaliable on server."; + qCInfo(lcCse()) << "No Client side encryption available on server."; emit initializationFinished(); return; } @@ -1376,7 +1376,7 @@ bool EncryptionHelper::fileEncryption(const QByteArray &key, const QByteArray &i qCDebug(lcCse) << "Could not open input file for reading" << input->errorString(); } if (!output->open(QIODevice::WriteOnly)) { - qCDebug(lcCse) << "Could not oppen output file for writting" << output->errorString(); + qCDebug(lcCse) << "Could not oppen output file for writing" << output->errorString(); } // Init diff --git a/src/libsync/propagateuploadencrypted.cpp b/src/libsync/propagateuploadencrypted.cpp index b9e659d87..e9786c342 100644 --- a/src/libsync/propagateuploadencrypted.cpp +++ b/src/libsync/propagateuploadencrypted.cpp @@ -242,7 +242,7 @@ void PropagateUploadEncrypted::slotFolderLockedError(const QByteArray& fileId, i // Perhaps I should remove the elapsed timer if the lock is from this client? if (_folderLockFirstTry.elapsed() > /* five minutes */ 1000 * 60 * 5 ) { - qCDebug(lcPropagateUploadEncrypted) << "One minute passed, ignoring more attemps to lock the folder."; + qCDebug(lcPropagateUploadEncrypted) << "One minute passed, ignoring more attempts to lock the folder."; return; } slotTryLock(fileId); -- 2.30.2