c3a426a264
Fix compatibility with Qt 5 in web view code
2023-12-05 12:34:22 +01:00
134aa448f7
Always customize scrollbars in built-in web view
...
* Use colors from palette; with this the custom scrollbars should always
be a plus (and not only when the Breeze style is used)
* React to palette changes at runtime
2023-12-03 21:15:29 +01:00
01dceb588a
Allow configuring web view console logging via environment variable
2023-12-03 21:02:34 +01:00
2ceb9a31b0
Fix clazy warning about usage of arg()
2023-12-03 18:56:43 +01:00
6d81d33174
Style scroll bars of built-in web view according to Breeze style if used
...
* The code is disabled under many platforms where the Breeze style is
unlikely to be used anyways.
* The code is disabled if Qt is older than 6.1 because only then the name
of the current style can be determined.
2023-12-02 19:19:18 +01:00
a6f0c2f5e1
Improve logging JavaScript messages of built-in web view
...
* Don't show configuration warning when enabled
* Log messages of all levels and log level when using Qt WebEngine
2023-12-02 19:07:00 +01:00
b8b7986086
Fix build error with Qt < 5.14
2023-06-20 11:09:46 +02:00
1d221120fe
Apply clang-format
2023-03-31 22:46:48 +02:00
3fd45accde
Allow configuring custom command for launching Chromium-based browser
2023-03-31 22:46:25 +02:00
7c93c21356
Document chromiumBasedBrowserBinaries()
2023-03-28 22:43:59 +02:00
033cd21d83
Improve lookup of Chromium-based browser binary
...
* Consider Edge and Chrome as well
* Read the binary path from the "Application Registration" under Windows
(see https://learn.microsoft.com/en-us/windows/win32/shell/app-registration )
2023-03-28 22:32:03 +02:00
db657bb1aa
Use QByteArrayLiteral for such literals
2023-03-28 17:20:59 +02:00
71a4f188eb
Add window icon in error dialog of openBrowserInAppMode()
2023-03-28 00:05:03 +02:00
58b8a4e540
Allow showing Syncthing UI in Chromium-based browser in "app mode"
...
See https://github.com/Martchus/syncthingtray/issues/178
2023-03-27 20:28:52 +02:00
96e92f13a3
Avoid relying on symlink for include directories
...
Symlinks aren't working very well with Git under Windows so better avoid
them.
2023-02-27 18:27:33 +01:00