Commit Graph

1962 Commits

Author SHA1 Message Date
Martchus 7b9870aefd Update translations 2023-03-31 22:50:07 +02:00
Martchus 1d221120fe Apply clang-format 2023-03-31 22:46:48 +02:00
Martchus 3fd45accde Allow configuring custom command for launching Chromium-based browser 2023-03-31 22:46:25 +02:00
Martchus 2767c9484a Fix size of wizard's window icon when using Aero-style
Apparently `wizardStyle()` does not return `QWizard::AeroStyle` at this
point of construction, even if that style will be used.
2023-03-28 23:56:23 +02:00
Martchus 7c93c21356 Document `chromiumBasedBrowserBinaries()` 2023-03-28 22:43:59 +02:00
Martchus 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
Martchus db657bb1aa Use QByteArrayLiteral for such literals 2023-03-28 17:20:59 +02:00
Martchus 55360b2563 Fix grammar in German translation of web view settings 2023-03-28 00:20:06 +02:00
Martchus 71a4f188eb Add window icon in error dialog of `openBrowserInAppMode()` 2023-03-28 00:05:03 +02:00
Martchus 57d826dfd5 Fix crashes in SyncthingProcess code with MSVC 2022 and Qt 6.5.0
Not sure why `QString::toStdWString()` doesn't work with this compiler and
the official Qt 6.5.0 build. However, instantiating an `std::wstring`
manually works so let's just use this as a workaround.

Note that with GCC/mingw-w64 and Qt 6.4.3 the `QString::toStdWString()`
function works just fine.
2023-03-28 00:02:35 +02:00
Martchus 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
Martchus a95fd02436 Bump minor version due to theming-related changes 2023-03-26 21:34:17 +02:00
Martchus 9566623651 Apply Qt settings during runtime
It is no longer required to restart the application to change settings like
the widget style and palette.
2023-03-26 21:32:53 +02:00
Martchus 5a45a46450 Make `addPlasmoidSpecificNote()` static 2023-03-26 21:08:42 +02:00
Martchus 8ce14623fc Fix typo in README.md 2023-03-23 23:52:52 +01:00
Martchus e71a928ae2 Avoid unusable wizard when dark mode is enabled on Windows 2023-03-23 22:59:25 +01:00
Martchus 70e94bcd3c Re-evaluate the default icon theme when the color palette changes
So far the Plasmoid is not covered. It would likely not be very useful
anyways because under GNU/Linux the default icon theme can be determined
from the system and thus the "fallback" default this change is about is not
effective.
2023-03-23 22:43:59 +01:00
Martchus 3a129480b0 Update note about dark mode for recent changes
The best default icon theme is now (as of qtutilities
commit 647ad121a) selected automatically.
2023-03-23 20:54:45 +01:00
Martchus 94e202ead0 Adapt dark mode info in README to Qt 6.5 2023-03-13 21:03:24 +01:00
Martchus 0ec3a6cdfa Improve notes regarding symlink handling on Windows
* Mention developer mode
* Use single `git config` command before cloning
2023-03-13 20:04:51 +01:00
Martchus 7b042f32fd Bump patch version 2023-03-13 20:04:50 +01:00
Martchus 7a5bd78eda Update libsyncthing to v1.23.2 2023-03-07 20:26:48 +01:00
Martchus 6a563b822d Update release date 2023-03-07 20:06:54 +01:00
Martchus 222f0e97ba Add back config for symlinks as still used by subdirs 2023-03-05 22:27:20 +01:00
Martchus 3d17eb0c70 Fix moc include for Qt 6 build after removing symlinks 2023-02-27 22:31:06 +01:00
Martchus a94f5fb694 Remove obsolete config for symlinks from README 2023-02-27 22:20:16 +01:00
Martchus a15c176b18 Remove symlink for README 2023-02-27 22:16:41 +01:00
Martchus b5d81eefc6 Avoid remaining symlinks for testfiles 2023-02-27 22:14:35 +01:00
Martchus 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
Martchus 5f44e2b49e Avoid relying on symlink to share testfiles between connector and cli
Symlinks aren't working very well with Git under Windows so better avoid
them.
2023-02-27 18:02:58 +01:00
Martchus c153173545 Fix compiling tests when systemd support is disabled 2023-02-26 20:01:53 +01:00
Martchus ed28eb5a44 Forward-declare `WizardTests` correctly to fix compilation with MSVC 2023-02-26 20:01:02 +01:00
Martchus d215c7e5c2 Update translations 2023-02-18 21:28:54 +01:00
Martchus 1b72e61c86 Allow to use a window without titlebar
This might look better than a popup on Windows 11 because we'd still get
the round window corners.
2023-02-18 21:27:09 +01:00
Martchus 5bf8a4e25a Update translations 2023-02-17 19:23:01 +01:00
Martchus 10c656cc5e Show error when settings cannot be restored or saved
* State the error type and location of the relevant file
* Help debugging problems related to settings
2023-02-17 19:20:10 +01:00
Martchus 6546d9bc23 Improve link to dark palette file 2023-02-17 18:55:26 +01:00
Martchus 588024d1c5 Display progress bar again when re-checking setup detection 2023-02-15 19:26:58 +01:00
Martchus cc2b3365fb Track whether setup detection has already been started and avoid running it twice
This makes the code more explicit about avoiding triggering the setup
detection twice. Maybe it fixes
https://github.com/Martchus/syncthingtray/issues/174 but likely it does not
change the behavior (in general).
2023-02-15 19:21:48 +01:00
Martchus 3829b65f85 Update translations 2023-02-11 18:29:25 +01:00
Martchus 3e0fc09869 Allow to keep connection/launcher config as-is in wizard 2023-02-11 18:28:59 +01:00
Martchus feeafb0a87 Fix determining main config according to selection in wizard page 2023-02-11 17:38:57 +01:00
Martchus 243160d43a Don't hide `--show-wizard` argument anymore; it is no longer experimental 2023-02-11 17:37:49 +01:00
Martchus 69cbcd5364 Improve platform notes in README 2023-02-11 15:56:40 +01:00
Martchus 5fa2aafb79 Update translations 2023-02-11 15:56:05 +01:00
Martchus 98852bacc5 Avoid unconditional use of platform-specific header `unistd.h`
* Also avoid use of platform-specific tempdir
* Use functions from the C++ standard library instead
* Improve error handling of related function calls
2023-02-11 15:55:45 +01:00
Martchus cab2ddc974 Avoid hardcoding Plasma version in Plasmoid code 2023-02-07 21:02:57 +01:00
Martchus eef47e7ef1 Allow building KIO/Dolphin against Qt/KF 6
* Avoid using function that is deprecated in Qt 6
* Remove unused include not available in KF6
* Don't hardcode CMake-package-prefix of KF modules
2023-02-07 20:57:21 +01:00
Martchus 60b70a3ce0 Cherry-pick change for being able to build Syncthing itself with Go 1.20 2023-02-07 20:52:41 +01:00
Martchus 9ce76a0f6a Update translations 2023-02-07 18:16:33 +01:00