Skip to content

Commit

Permalink
chore: fix typos in code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
trollixx committed Aug 5, 2024
1 parent a0fdca7 commit 821ae66
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/app/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ int main(int argc, char *argv[])
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif

// Use Fusion style on Windows 10 & 11. This enables proper darl mode support.
// Use Fusion style on Windows 10 & 11. This enables proper dark mode support.
// See https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5.
// TODO: Make style configurable, detect -style argument.
#if defined(Q_OS_WIN) && (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0))
Expand Down
2 changes: 1 addition & 1 deletion src/libs/core/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ QNetworkReply *Application::download(const QUrl &url)
/*!
\internal
Performs a check whether a new Zeal version is available. Setting \a quiet to true supresses
Performs a check whether a new Zeal version is available. Setting \a quiet to true suppresses
error and "you are using the latest version" message boxes.
*/
void Application::checkForUpdates(bool quiet)
Expand Down
4 changes: 2 additions & 2 deletions src/libs/core/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ class Settings final : public QObject

// Internal
// --------
// InstallId is a UUID used to indentify a Zeal installation. Created on first start or after
// a settings wipe. It is not attached to user hardware or software, and is sent exclusevely
// InstallId is a UUID used to identify a Zeal installation. Created on first start or after
// a settings wipe. It is not attached to user hardware or software, and is sent exclusively
// to *.zealdocs.org hosts.
QString installId;

Expand Down
2 changes: 1 addition & 1 deletion src/libs/ui/searchsidebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ SearchSidebar::SearchSidebar(const SearchSidebar *other, QWidget *parent)

m_treeView->selectionModel()->blockSignals(false);

// Cannot update position until layout geomentry is calculated, so set it in showEvent().
// Cannot update position until layout geometry is calculated, so set it in showEvent().
m_pendingVerticalPosition = other->m_treeView->verticalScrollBar()->value();
} else {
m_searchModel = new Registry::SearchModel(this);
Expand Down
2 changes: 1 addition & 1 deletion src/libs/ui/widgets/searchedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ SearchEdit::SearchEdit(QWidget *parent)
connect(this, &SearchEdit::textChanged, this, &SearchEdit::showCompletions);
}

// Makes the line edit use autocompletions.
// Makes the line edit use autocompletion.
void SearchEdit::setCompletions(const QStringList &completions)
{
delete m_prefixCompleter;
Expand Down

0 comments on commit 821ae66

Please sign in to comment.