diff options
author | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-01-23 17:01:54 +0100 |
---|---|---|
committer | Kaloyan Chehlarski <kaloyan.chehlarski@qt.io> | 2024-03-22 12:20:30 +0000 |
commit | 33aa1f322449651a666b63d826dc6c19d07d22f1 (patch) | |
tree | a28b3d6bc0a325e3269128f0b61fd8382bd30b84 | |
parent | d5c58202488319a7827a65e4ad89b905bdac8535 (diff) |
Add local fonts permission notification to Quick Nano Browser example
This change adds the relevant permission pop-up text to the Quick Nano
Browser example for the local font access API.
Task-number: QTBUG-121320
Change-Id: I0347f028301fe57cfece7962798398a0dc9978e5
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
-rw-r--r-- | examples/webenginequick/quicknanobrowser/BrowserWindow.qml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/webenginequick/quicknanobrowser/BrowserWindow.qml b/examples/webenginequick/quicknanobrowser/BrowserWindow.qml index 3cae3014e..3b911262b 100644 --- a/examples/webenginequick/quicknanobrowser/BrowserWindow.qml +++ b/examples/webenginequick/quicknanobrowser/BrowserWindow.qml @@ -787,6 +787,9 @@ ApplicationWindow { case WebEngineView.ClipboardReadWrite: question += "read from and write to your clipboard?"; break; + case WebEngineView.LocalFontsAccess: + question += "access the fonts stored on your machine?"; + break; default: question += "access unknown or unsupported feature [" + feature + "] ?"; break; |