Martchus
ded20b34a6
Add helper to react to darkmode changes
2024-03-31 22:48:22 +02:00
Martchus
fd151995ce
Adapt to dark mode support in Qt 6.5
...
* Avoid setting platform setting in Qt 6.5 as it is no longer needed for
dark Window frames
* Reference recent blog post
* Add real `isDarkModeEnabled()` function using new Qt 6.5 API (as existing
`isPaletteDark()` function is only based on the current palette)
2023-03-13 20:59:57 +01:00
Martchus
0f7a4eb059
Add function to determine whether palette is dark
2022-07-16 18:44:47 +02:00
Martchus
1155ab0036
Use QFileInfo to check for absolute path in openLocalFileOrDir()
...
Better not rely on a correct implmentation of std::filesystem in
libstdc++ on Windows when using Qt anyways.
2019-10-09 17:33:38 +02:00
Martchus
df03b97ced
Fix openLocalFileOrDir() on Windows
...
Not tested yet
2019-10-09 12:54:35 +02:00
Martchus
b3e7c390d9
Have everything in one top-level namespace
2019-06-10 21:57:46 +02:00
Martchus
afe3373896
Apply tidy after updating to clang-format 5.0.0
...
The behavior of clang-format slightly changed in Clang 5.0.0:
http://releases.llvm.org/5.0.0/tools/clang/docs/ReleaseNotes.html#clang-format
2017-09-17 21:45:49 +02:00
Martchus
0599eb354d
Apply clang-format
2017-05-04 22:46:37 +02:00
Martchus
2dcbc02f4b
Apply clang-format
2017-05-01 03:16:25 +02:00
Martchus
783c00b78c
Fix handling special chars like # in openLocalFileOrDir()
2016-12-27 20:22:20 +01:00
Martchus
7f9afcda73
Fix decoration for static builds
...
- Also fix finding static web view and JavaScript provider
2016-08-29 15:41:21 +02:00
Martchus
1f890920e6
added Dialogs::updateStyle()
2016-02-05 20:23:02 +01:00
Martchus
b5ee1adc3f
added DesktopUtils::openLocalFileOrDir()
2016-02-05 19:29:11 +01:00