83225dbed6
Fix error when generating D-Bus properties interface header
...
Fixes the following error
```
qdbusxml2cpp: Got unknown type `a{sv}' processing '/build/static-compat-syncthingtray/src/syncthingtray/syncthingconnector/org.freedesktop.DBus.Properties.xml'
You should add <annotation name="org.qtproject.QtDBus.QtTypeName.Out1" value="<type>"/> to the XML description for 'changed_properties'
```
by following the suggestion of that error. Not sure why this
error occurs only now. Maybe `qdbusxml2cpp` changed in Qt 6.5.0.
2023-04-04 21:55:00 +02:00
395e32de2b
Update release date
2023-04-04 21:06:59 +02:00
1c9e9affe3
Format code in InternalError::isRelevant()
according to current coding style
2023-04-04 17:14:16 +02:00
4fb50526bd
Suppress "connection refused" errors when stopping Syncthing ourselves
...
When stopping the Syncthing service ourselves we can apparently also
get "connection refused" and not just "remote host closed". So this
kind of error should be supressed as well.
2023-04-04 17:13:27 +02:00
45d75ac7ae
Update libsyncthing to v1.23.3
2023-04-04 10:38:53 +02:00
0f6ea4f88e
Track "SubState" of systemd service correctly
...
Due to short-circuing the previous code might not have taken a
changed "SubState" into account. This change should fix it and
therefore might fix
https://github.com/Martchus/syncthingtray/issues/179 .
2023-04-03 19:19:45 +02:00
76209e2922
Improve handling changed properties in SyncthingService
...
* Check directly whether changed properties contain a property
instead of checking indirectly whether the returned QVariant
is invalid.
* Avoid copying the QVariant.
* Effectively this should not change anything; the code is just
more readable and possibly more efficient.
2023-04-03 19:16:52 +02:00
f524a18b83
Fix condition for triggering connection once service is back
...
Skipping the connection attempt if the timer interval is lower
anyways only makes sense if the timer is also active.
2023-04-03 18:47:50 +02:00
7b9870aefd
Update translations
2023-03-31 22:50:07 +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
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
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
55360b2563
Fix grammar in German translation of web view settings
2023-03-28 00:20:06 +02:00
71a4f188eb
Add window icon in error dialog of openBrowserInAppMode()
2023-03-28 00:05:03 +02:00
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
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
a95fd02436
Bump minor version due to theming-related changes
2023-03-26 21:34:17 +02:00
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
5a45a46450
Make addPlasmoidSpecificNote()
static
2023-03-26 21:08:42 +02:00
8ce14623fc
Fix typo in README.md
2023-03-23 23:52:52 +01:00
e71a928ae2
Avoid unusable wizard when dark mode is enabled on Windows
2023-03-23 22:59:25 +01:00
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
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
94e202ead0
Adapt dark mode info in README to Qt 6.5
2023-03-13 21:03:24 +01:00
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
7b042f32fd
Bump patch version
2023-03-13 20:04:50 +01:00
7a5bd78eda
Update libsyncthing to v1.23.2
2023-03-07 20:26:48 +01:00
6a563b822d
Update release date
2023-03-07 20:06:54 +01:00
222f0e97ba
Add back config for symlinks as still used by subdirs
2023-03-05 22:27:20 +01:00
3d17eb0c70
Fix moc include for Qt 6 build after removing symlinks
2023-02-27 22:31:06 +01:00
a94f5fb694
Remove obsolete config for symlinks from README
2023-02-27 22:20:16 +01:00
a15c176b18
Remove symlink for README
2023-02-27 22:16:41 +01:00
b5d81eefc6
Avoid remaining symlinks for testfiles
2023-02-27 22:14:35 +01: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
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
c153173545
Fix compiling tests when systemd support is disabled
2023-02-26 20:01:53 +01:00
ed28eb5a44
Forward-declare WizardTests
correctly to fix compilation with MSVC
2023-02-26 20:01:02 +01:00
d215c7e5c2
Update translations
2023-02-18 21:28:54 +01:00
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
5bf8a4e25a
Update translations
2023-02-17 19:23:01 +01:00
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
6546d9bc23
Improve link to dark palette file
2023-02-17 18:55:26 +01:00
588024d1c5
Display progress bar again when re-checking setup detection
2023-02-15 19:26:58 +01:00
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
3829b65f85
Update translations
2023-02-11 18:29:25 +01:00
3e0fc09869
Allow to keep connection/launcher config as-is in wizard
2023-02-11 18:28:59 +01:00
feeafb0a87
Fix determining main config according to selection in wizard page
2023-02-11 17:38:57 +01:00