projects
/
PrivacyBrowserPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6acd73c
)
Enable English spell checking.
author
Soren Stoutner
<soren@stoutner.com>
Mon, 15 Aug 2022 23:47:45 +0000
(16:47 -0700)
committer
Soren Stoutner
<soren@stoutner.com>
Mon, 15 Aug 2022 23:47:45 +0000
(16:47 -0700)
src/widgets/TabWidget.cpp
patch
|
blob
|
history
diff --git
a/src/widgets/TabWidget.cpp
b/src/widgets/TabWidget.cpp
index eb82f23d2fed09c49c4739479963ff2aba519fc5..4a3c1455ecc63acc1c327bcd5bddd2683ac83d76 100644
(file)
--- a/
src/widgets/TabWidget.cpp
+++ b/
src/widgets/TabWidget.cpp
@@
-325,6
+325,12
@@
PrivacyWebEngineView* TabWidget::addTab(const bool focusNewWebEngineView)
tabWidgetPointer->setTabIcon(tabIndex, icon);
});
+ // Enable spell checking.
+ webEngineProfilePointer->setSpellCheckEnabled(true);
+
+ // Set the spell check language.
+ webEngineProfilePointer->setSpellCheckLanguages({QStringLiteral("en_US")});
+
// Move to the new tab.
tabWidgetPointer->setCurrentIndex(newTabIndex);