mirror of
https://github.com/zealdocs/zeal.git
synced 2024-09-11 14:25:52 +03:00
chore: fix typos in code comments
This commit is contained in:
parent
a0fdca7ea6
commit
821ae66980
@ -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))
|
||||
|
@ -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)
|
||||
|
@ -102,8 +102,8 @@ public:
|
||||
|
||||
// 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;
|
||||
|
||||
|
@ -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);
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user