Skip to content

Commit 821ae66

Browse files
committed
chore: fix typos in code comments
1 parent a0fdca7 commit 821ae66

5 files changed

Lines changed: 6 additions & 6 deletions

File tree

src/app/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ int main(int argc, char *argv[])
189189
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
190190
#endif
191191

192-
// Use Fusion style on Windows 10 & 11. This enables proper darl mode support.
192+
// Use Fusion style on Windows 10 & 11. This enables proper dark mode support.
193193
// See https://www.qt.io/blog/dark-mode-on-windows-11-with-qt-6.5.
194194
// TODO: Make style configurable, detect -style argument.
195195
#if defined(Q_OS_WIN) && (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0))

src/libs/core/application.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ QNetworkReply *Application::download(const QUrl &url)
213213
/*!
214214
\internal
215215
216-
Performs a check whether a new Zeal version is available. Setting \a quiet to true supresses
216+
Performs a check whether a new Zeal version is available. Setting \a quiet to true suppresses
217217
error and "you are using the latest version" message boxes.
218218
*/
219219
void Application::checkForUpdates(bool quiet)

src/libs/core/settings.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,8 @@ class Settings final : public QObject
102102

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

src/libs/ui/searchsidebar.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ SearchSidebar::SearchSidebar(const SearchSidebar *other, QWidget *parent)
157157

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

160-
// Cannot update position until layout geomentry is calculated, so set it in showEvent().
160+
// Cannot update position until layout geometry is calculated, so set it in showEvent().
161161
m_pendingVerticalPosition = other->m_treeView->verticalScrollBar()->value();
162162
} else {
163163
m_searchModel = new Registry::SearchModel(this);

src/libs/ui/widgets/searchedit.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ SearchEdit::SearchEdit(QWidget *parent)
4848
connect(this, &SearchEdit::textChanged, this, &SearchEdit::showCompletions);
4949
}
5050

51-
// Makes the line edit use autocompletions.
51+
// Makes the line edit use autocompletion.
5252
void SearchEdit::setCompletions(const QStringList &completions)
5353
{
5454
delete m_prefixCompleter;

0 commit comments

Comments
 (0)